

def compareTimes(self, input, targets):
    service = DateService()
    results = service.extractDates(input)
    for (result, target) in zip(results, targets):
        self.assertEqual(result.hour, target.hour)
        self.assertEqual(result.minute, target.minute)

dataset/ETHPy150Open crm416/semantic/semantic/test/testDates.py TestDate.compareTimes/original