예제 #1
0
 def test_start_of_week_plus_day_is_invalid(self):
     assert_that(WEEK.valid_start_at(d(2013, 4, 9, 0, 0, 0)), is_(False))
예제 #2
0
 def test_start_of_week_plus_second_is_invalid(self):
     assert_that(WEEK.valid_start_at(d(2013, 4, 8, 0, 0, 1)), is_(False))
예제 #3
0
 def test_start_of_week_plus_minute_is_invalid(self):
     assert_that(WEEK.valid_start_at(d(2013, 4, 8, 0, 1, 0)), is_(False))
예제 #4
0
 def test_start_of_week_is_valid(self):
     assert_that(WEEK.valid_start_at(d(2013, 4, 8, 0, 0, 0)), is_(True))