Python 3 compat for tests/integration/loader/globals.py

This commit is contained in:
rallytime 2015-02-06 07:48:20 -07:00
parent 135ee5aafe
commit eaa879a64e

View File

@ -11,7 +11,8 @@ from __future__ import absolute_import
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../')
ensure_in_syspath('../../')
# Import salt libs
import integration
@ -53,7 +54,7 @@ class LoaderGlobalsTest(integration.ModuleCase):
# Now, test each module!
for item in global_vars:
for name in names:
self.assertIn(name, item.keys())
self.assertIn(name, list(item.keys()))
def test_auth(self):
'''