def test_normal(self):
    actual = create_actual_working_times_daily(ACTUAL_WORKING_TIME_LIST, tzinfo=self.jtc_tzinfo)
    assert (len(actual) == 3)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-01') and (e['job_id'] == 'JOB_A'))))['actual_working_hours'] == 2.0)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-01') and (e['job_id'] == 'JOB_B'))))['actual_working_hours'] == 2.0)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-02') and (e['job_id'] == 'JOB_A'))))['actual_working_hours'] == 3.0)
def test_normal(self):
    actual = create_actual_working_times_daily(ACTUAL_WORKING_TIME_LIST, tzinfo=self.jtc_tzinfo)
    assert (len(actual) == 3)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-01') and (e['job_id'] == 'JOB_A'))))['actual_working_hours'] == 2.0)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-01') and (e['job_id'] == 'JOB_B'))))['actual_working_hours'] == 2.0)
    assert (more_itertools.first_true(actual, pred=(lambda e: ((e['date'] == '2021-11-02') and (e['job_id'] == 'JOB_A'))))['actual_working_hours'] == 3.0)