mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Show sys.path
on error
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
7e709b11dd
commit
8b6497da72
1 changed files with 2 additions and 1 deletions
|
@ -267,7 +267,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