mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #20556 from cachedout/fix_loader_pylint
Fix loader pylint
This commit is contained in:
commit
0341fdcdbd
@ -20,7 +20,7 @@ from salttesting.helpers import ensure_in_syspath
|
||||
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
import integration
|
||||
import tests.integration
|
||||
|
||||
# Import Salt libs
|
||||
# pylint: disable=import-error,no-name-in-module,redefined-builtin
|
||||
@ -179,7 +179,7 @@ class LazyLoaderReloadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.integration.TMP)
|
||||
|
||||
self.count = 0
|
||||
|
||||
@ -303,7 +303,7 @@ class LazyLoaderSubmodReloadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.integration.TMP)
|
||||
os.makedirs(self.module_dir)
|
||||
|
||||
self.count = 0
|
||||
@ -446,7 +446,7 @@ class LazyLoaderDeepSubmodReloadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.opts = _config = minion_config(None)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=integration.TMP)
|
||||
self.tmp_dir = tempfile.mkdtemp(dir=tests.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