예제 #1
0
 def test_start_of_month_plus_second_is_invalid(self):
     assert_that(MONTH.valid_start_at(d(2013, 4, 1, 0, 0, 1)), is_(False))
예제 #2
0
 def test_start_of_month_plus_day_is_invalid(self):
     assert_that(MONTH.valid_start_at(d(2013, 4, 2, 0, 0, 0)), is_(False))
예제 #3
0
 def test_start_of_month_is_valid(self):
     assert_that(MONTH.valid_start_at(d(2013, 4, 1, 0, 0, 0)), is_(True))