Fix tests

This commit is contained in:
Colton Myers 2015-08-28 13:50:31 -06:00
parent 51b1c6b106
commit 964a47c643
2 changed files with 2 additions and 2 deletions

View File

@ -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):
'''

View File

@ -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():