mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix scheduleadd test
This commit is contained in:
parent
d8a60d6181
commit
ed3a71dc72
@ -117,7 +117,7 @@ class ScheduleTestCase(TestCase):
|
||||
comm4 = 'Job: job2 would be added to schedule.'
|
||||
with patch.dict(schedule.__opts__, {'schedule': {'job1': 'salt'}}):
|
||||
self.assertDictEqual(schedule.add('job1'),
|
||||
{'comment': comm1, 'result': True})
|
||||
{'comment': comm1, 'result': False})
|
||||
|
||||
self.assertDictEqual(schedule.add('job2', function='test.ping',
|
||||
seconds=3600, when='2400'),
|
||||
|
Loading…
Reference in New Issue
Block a user