mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Show sys.path
on error
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
832a05289a
commit
a7efc64f80
1 changed files with 2 additions and 1 deletions
|
@ -256,7 +256,8 @@ def pytest_configure(config):
|
|||
raise pytest.UsageError(
|
||||
"Apparently running the test suite against the onedir build "
|
||||
"of salt, however, the imported salt package is pointing to "
|
||||
"the respository checkout instead of the onedir package."
|
||||
"the respository checkout instead of the onedir package.\n\n"
|
||||
f" * sys.path: {sys.path}"
|
||||
)
|
||||
config._onedir_check_complete = True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue