mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
Fixing test_run_job test to ensure the right data is being asserted. Updating unit/test_module_names.py to include integration.scheduler.test_run_job.
This commit is contained in:
parent
7d716d6b72
commit
549cfb8b7b
@ -69,5 +69,5 @@ class SchedulerRunJobTest(ModuleCase, SaltReturnAssertsMixin):
|
||||
# Run job
|
||||
self.schedule.run_job(job_name)
|
||||
ret = self.schedule.job_status(job_name)
|
||||
expected = {'function': 'test.ping', u'name': 'test_run_job'}
|
||||
expected = {'function': 'test.ping', 'run': True, 'name': 'test_run_job'}
|
||||
self.assertEqual(ret, expected)
|
||||
|
@ -156,6 +156,7 @@ class BadTestModuleNamesTestCase(TestCase):
|
||||
'integration.scheduler.test_skip',
|
||||
'integration.scheduler.test_maxrunning',
|
||||
'integration.scheduler.test_helpers',
|
||||
'integration.scheduler.test_run_job',
|
||||
'integration.shell.test_spm',
|
||||
'integration.shell.test_cp',
|
||||
'integration.shell.test_syndic',
|
||||
|
Loading…
Reference in New Issue
Block a user