Skip to content

Commit

Permalink
Delete more duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
connorskees committed Jan 15, 2019
1 parent 6233241 commit e5e00c6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test_schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,6 @@ def test_at_time_minute(self):
self.assertRaises(ScheduleValueError, every().minute.at, '2:30:00')
self.assertRaises(ScheduleValueError, every().minute.at, '2:30')
self.assertRaises(ScheduleValueError, every().minute.at, ' :30')
assert every().minute.at(':40').do(mock_job).next_run.hour == 12
assert every().minute.at(':40').do(mock_job).next_run.minute == 20
assert every().minute.at(':40').do(mock_job).next_run.second == 40
assert every().minute.at(':10').do(mock_job).next_run.hour == 12
assert every().minute.at(':10').do(mock_job).next_run.minute == 21
assert every().minute.at(':10').do(mock_job).next_run.second == 10

self.assertRaises(TypeError, every().minute.at, 2)

def test_next_run_time(self):
Expand Down

0 comments on commit e5e00c6

Please sign in to comment.