def test_ps_ranges_same_day(self):
     first_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 15)).next()
     self.assertStartsAt(first_ps, utc_datetime(2005, 12, 15, 18, 0))
Ejemplo n.º 2
0
 def test_ps_ranges_same_day(self):
     first_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 15)).next()
     self.assertStartsAt(first_ps, utc_datetime(2005, 12, 15, 18, 0))
    def test_ps_ranges(self):
        first_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 14)).next()
        self.assertStartsAt(first_ps, utc_datetime(2005, 12, 15, 18, 0))

        second_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 16)).next()
        self.assertStartsAt(second_ps, utc_datetime(2006, 1, 12, 18, 0))
Ejemplo n.º 4
0
    def test_ps_ranges(self):
        first_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 14)).next()
        self.assertStartsAt(first_ps, utc_datetime(2005, 12, 15, 18, 0))

        second_ps = ps_data.gen_events(start=utc_datetime(2005, 12, 16)).next()
        self.assertStartsAt(second_ps, utc_datetime(2006, 1, 12, 18, 0))