Esempio n. 1
0
 def test_after_nearest_workday(self):
     assert after_nearest_workday(self.sa) == self.mo
     assert after_nearest_workday(self.su) == self.tu
     assert after_nearest_workday(self.fr) == self.mo
Esempio n. 2
0
 def test_after_nearest_workday(self):
     assert after_nearest_workday(self.sa) == self.mo
     assert after_nearest_workday(self.su) == self.tu
     assert after_nearest_workday(self.fr) == self.mo
Esempio n. 3
0
def test_after_nearest_workday(day, expected):
    assert after_nearest_workday(day) == expected
Esempio n. 4
0
def test_after_nearest_workday(day, expected):
    assert after_nearest_workday(day) == expected
Esempio n. 5
0
 def test_after_nearest_workday(self):
     self.assertEqual(after_nearest_workday(self.sa), self.mo)
     self.assertEqual(after_nearest_workday(self.su), self.tu)
     self.assertEqual(after_nearest_workday(self.fr), self.mo)
Esempio n. 6
0
 def test_after_nearest_workday(self):
     self.assertEqual(after_nearest_workday(self.sa), self.mo)
     self.assertEqual(after_nearest_workday(self.su), self.tu)
     self.assertEqual(after_nearest_workday(self.fr), self.mo)