mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
Change cwd back to Salt's code dir
This commit is contained in:
parent
e7681f7c75
commit
c7b5fccb9e
@ -20,7 +20,7 @@ ensure_in_syspath('../../')
|
||||
|
||||
# Import salt libs
|
||||
from salt.utils import cloud
|
||||
from integration import TMP
|
||||
from integration import TMP, CODE_DIR
|
||||
|
||||
GPG_KEYDIR = os.path.join(TMP, 'gpg-keydir')
|
||||
|
||||
@ -63,6 +63,8 @@ try:
|
||||
except ImportError:
|
||||
HAS_KEYRING = False
|
||||
|
||||
os.chdir(CODE_DIR)
|
||||
|
||||
|
||||
class CloudUtilsTestCase(TestCase):
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user