mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Don't force import of salt.master in integration tests
This commit is contained in:
parent
a09a3c02c4
commit
a56bed4d03
@ -52,7 +52,6 @@ ensure_in_syspath(CODE_DIR, SALT_LIBS)
|
||||
import salt
|
||||
import salt._compat
|
||||
import salt.config
|
||||
import salt.master
|
||||
import salt.minion
|
||||
import salt.runner
|
||||
import salt.output
|
||||
@ -61,6 +60,12 @@ import salt.utils
|
||||
from salt.utils import fopen, get_colors
|
||||
from salt.utils.verify import verify_env
|
||||
|
||||
try:
|
||||
import salt.master
|
||||
except ImportError:
|
||||
# Not required fro raet tests
|
||||
pass
|
||||
|
||||
# Import 3rd-party libs
|
||||
import yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user