def test_endPoint_withOneDay(self): l = ProductionLoader() date = l.endPoint(isodate('2000-01-01'), 25*[0]) self.assertEqual('2000-01-02', str(date))
def test_endPoint_withHalfADay_justReturnsTheWholeOnes(self): l = ProductionLoader() date = l.endPoint(isodate('2000-01-01'), 27*[0]) self.assertEqual('2000-01-02', str(date))
def test_endPoint_withNoProduction(self): l = ProductionLoader() date = l.endPoint(isodate('2000-01-01'), []) self.assertEqual('2000-01-01', str(date))