mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix tests
This commit is contained in:
parent
51b1c6b106
commit
964a47c643
@ -130,7 +130,7 @@ class LoaderGlobalsTest(integration.ModuleCase):
|
||||
- __grains__
|
||||
- __context__
|
||||
'''
|
||||
self._verify_globals(salt.loader.states(self.master_opts, {}))
|
||||
self._verify_globals(salt.loader.states(self.master_opts, {}, {}))
|
||||
|
||||
def test_renderers(self):
|
||||
'''
|
||||
|
@ -67,7 +67,7 @@ opts = salt.config.DEFAULT_MINION_OPTS
|
||||
ctx = {}
|
||||
utils = salt.loader.utils(opts, context=ctx, whitelist=['boto'])
|
||||
funcs = salt.loader.minion_mods(opts, context=ctx, utils=utils, whitelist=['boto_vpc'])
|
||||
salt_states = salt.loader.states(opts=opts, functions=funcs, whitelist=['boto_vpc'])
|
||||
salt_states = salt.loader.states(opts=opts, functions=funcs, utils=utils, whitelist=['boto_vpc'])
|
||||
|
||||
|
||||
def _has_required_boto():
|
||||
|
Loading…
Reference in New Issue
Block a user