def test_midnight(self):
    actual = _create_actual_working_hours_dict(ACTUAL_WORKING_TIME_LIST[2], tzinfo=self.jtc_tzinfo)
    expected = {(datetime.date(2021, 11, 1), 'alice', 'JOB_A'): 1.0, (datetime.date(2021, 11, 2), 'alice', 'JOB_A'): 3.0}
    assert (actual == expected)
def test_midnight(self):
    actual = _create_actual_working_hours_dict(ACTUAL_WORKING_TIME_LIST[2], tzinfo=self.jtc_tzinfo)
    expected = {(datetime.date(2021, 11, 1), 'alice', 'JOB_A'): 1.0, (datetime.date(2021, 11, 2), 'alice', 'JOB_A'): 3.0}
    assert (actual == expected)