Esempio n. 1
0
 def test_can_reschedule_to_daily(self):
     self._reschedule_test(schedule.daily(hour=1, minute=1))
 def test_can_reschedule_to_daily(self):
     self._reschedule_test(schedule.daily(hour=1, minute=1))
Esempio n. 3
0
 def test_daily_repr_matches_expected(self):
     sched = schedule.daily(13, 15)
     self.assertEqual(repr(sched), ("<Schedule frequency:Daily weekday:* " "time:01:15 PM>"))
Esempio n. 4
0
 def test_daily_schedule_works(self):
     sched = schedule.daily(1, 1)
     self._expect(sched, "Daily", xhour=1, xminute=1, xperiod="AM")
 def test_daily_repr_matches_expected(self):
     sched = schedule.daily(13, 15)
     self.assertEqual(repr(sched), ('<Schedule frequency:Daily weekday:* '
                                    'time:01:15 PM>'))
 def test_daily_schedule_works(self):
     sched = schedule.daily(1, 1)
     self._expect(sched, 'Daily', xhour=1, xminute=1, xperiod='AM')