Exemplo n.º 1
0
 def test_get_next_period_year_border(self):
     week = Week(2017, 52)
     next = week.get_next_period()
     self.assertEqual(2018, next.year)
     self.assertEqual(1, next.week)
Exemplo n.º 2
0
 def test_get_next_period_year_border(self):
     week = Week(2017, 52)
     next = week.get_next_period()
     self.assertEqual(2018, next.year)
     self.assertEqual(1, next.week)
Exemplo n.º 3
0
 def test_get_next_period(self):
     week = Week(2018, 3)
     next = week.get_next_period()
     self.assertEqual(2018, next.year)
     self.assertEqual(4, next.week)
Exemplo n.º 4
0
 def test_get_next_period(self):
     week = Week(2018, 3)
     next = week.get_next_period()
     self.assertEqual(2018, next.year)
     self.assertEqual(4, next.week)