mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add path settings to saltunittest
This commit is contained in:
parent
8b88082ed9
commit
edb689f9e0
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ else:
|
|||
# Set up paths
|
||||
TEST_DIR = os.path.dirname(os.path.normpath(os.path.abspath(__file__)))
|
||||
SALT_LIBS = os.path.dirname(TEST_DIR)
|
||||
TMP = os.path.join(TEST_DIR, 'tmp')
|
||||
FILES = os.path.join(TEST_DIR, 'files')
|
||||
|
||||
sys.path.insert(0, TEST_DIR)
|
||||
sys.path.insert(0, SALT_LIBS)
|
||||
|
|
Loading…
Add table
Reference in a new issue