mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Make tests happy
This commit is contained in:
parent
3ebdb54542
commit
dce017b3f7
@ -93,7 +93,8 @@ class SaltUtilSyncModuleTest(ModuleCase):
|
|||||||
'states': [],
|
'states': [],
|
||||||
'sdb': [],
|
'sdb': [],
|
||||||
'proxymodules': [],
|
'proxymodules': [],
|
||||||
'output': []}
|
'output': [],
|
||||||
|
'thorium': []}
|
||||||
ret = self.run_function('saltutil.sync_all')
|
ret = self.run_function('saltutil.sync_all')
|
||||||
self.assertEqual(ret, expected_return)
|
self.assertEqual(ret, expected_return)
|
||||||
|
|
||||||
@ -113,7 +114,8 @@ class SaltUtilSyncModuleTest(ModuleCase):
|
|||||||
'states': [],
|
'states': [],
|
||||||
'sdb': [],
|
'sdb': [],
|
||||||
'proxymodules': [],
|
'proxymodules': [],
|
||||||
'output': []}
|
'output': [],
|
||||||
|
'thorium': []}
|
||||||
ret = self.run_function('saltutil.sync_all', extmod_whitelist={'modules': ['salttest']})
|
ret = self.run_function('saltutil.sync_all', extmod_whitelist={'modules': ['salttest']})
|
||||||
self.assertEqual(ret, expected_return)
|
self.assertEqual(ret, expected_return)
|
||||||
|
|
||||||
@ -135,7 +137,8 @@ class SaltUtilSyncModuleTest(ModuleCase):
|
|||||||
'states': [],
|
'states': [],
|
||||||
'sdb': [],
|
'sdb': [],
|
||||||
'proxymodules': [],
|
'proxymodules': [],
|
||||||
'output': []}
|
'output': [],
|
||||||
|
'thorium': []}
|
||||||
ret = self.run_function('saltutil.sync_all', extmod_blacklist={'modules': ['runtests_decorators']})
|
ret = self.run_function('saltutil.sync_all', extmod_blacklist={'modules': ['runtests_decorators']})
|
||||||
self.assertEqual(ret, expected_return)
|
self.assertEqual(ret, expected_return)
|
||||||
|
|
||||||
@ -155,7 +158,8 @@ class SaltUtilSyncModuleTest(ModuleCase):
|
|||||||
'states': [],
|
'states': [],
|
||||||
'sdb': [],
|
'sdb': [],
|
||||||
'proxymodules': [],
|
'proxymodules': [],
|
||||||
'output': []}
|
'output': [],
|
||||||
|
'thorium': []}
|
||||||
ret = self.run_function('saltutil.sync_all', extmod_whitelist={'modules': ['runtests_decorators']},
|
ret = self.run_function('saltutil.sync_all', extmod_whitelist={'modules': ['runtests_decorators']},
|
||||||
extmod_blacklist={'modules': ['runtests_decorators']})
|
extmod_blacklist={'modules': ['runtests_decorators']})
|
||||||
self.assertEqual(ret, expected_return)
|
self.assertEqual(ret, expected_return)
|
||||||
|
Loading…
Reference in New Issue
Block a user