예제 #1
0
 def test_date_and_next_edge(self):
     self.assertEqual(date_and_next_day(datetime(year=2011, month=12, day=31)), ('2011-12-31', '2012-01-01'))
예제 #2
0
 def test_date_and_next(self):
     self.assertEqual(date_and_next_day(datetime(year=2011, month=6, day=25)), ('2011-06-25', '2011-06-26'))