Exemple #1
0
    def test_that_returns_the_beginning_of_the_fourth_quarter(self):
        some_datetime = d(2013, 12, 4, 10, 23, 43)

        assert_that(QUARTER.start(some_datetime), is_(d(2013, 10, 1, 0, 0, 0)))
Exemple #2
0
    def test_that_returns_the_beginning_of_the_third_quarter(self):
        some_datetime = d(2013, 9, 20, 0, 23, 43)

        assert_that(QUARTER.start(some_datetime), is_(d(2013, 7, 1, 0, 0, 0)))