From 964a47c6430b93dfa2772f354ce2dc665d91f1a1 Mon Sep 17 00:00:00 2001 From: Colton Myers Date: Fri, 28 Aug 2015 13:50:31 -0600 Subject: [PATCH] Fix tests --- tests/integration/loader/globals.py | 2 +- tests/unit/states/boto_vpc_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/loader/globals.py b/tests/integration/loader/globals.py index c46f581bd2..2769955c2c 100644 --- a/tests/integration/loader/globals.py +++ b/tests/integration/loader/globals.py @@ -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): ''' diff --git a/tests/unit/states/boto_vpc_test.py b/tests/unit/states/boto_vpc_test.py index e768b96578..ca32f399e3 100644 --- a/tests/unit/states/boto_vpc_test.py +++ b/tests/unit/states/boto_vpc_test.py @@ -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():