mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Import 'integrations' not 'tests.integrations'
This commit is contained in:
parent
33336a799b
commit
7b262f8bf7
@ -20,7 +20,7 @@ from salttesting.helpers import ensure_in_syspath
|
||||
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
import tests.integration
|
||||
import integration
|
||||
|
||||
# Import Salt libs
|
||||
# pylint: disable=import-error,no-name-in-module,redefined-builtin
|
||||
@ -189,7 +189,7 @@ class LazyLoaderReloadingTest(TestCase):
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.opts['grains'] = grains(self.opts)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
|
||||
self.count = 0
|
||||
|
||||
@ -314,7 +314,7 @@ class LazyLoaderSubmodReloadingTest(TestCase):
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.opts['grains'] = grains(self.opts)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
os.makedirs(self.module_dir)
|
||||
|
||||
self.count = 0
|
||||
@ -457,7 +457,7 @@ class LazyLoaderDeepSubmodReloadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
os.makedirs(self.module_dir)
|
||||
|
||||
self.lib_count = collections.defaultdict(int) # mapping of path -> count
|
||||
|
Loading…
Reference in New Issue
Block a user