mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
As a script, not as a module
This commit is contained in:
parent
8948b690b1
commit
c3a21f5ac9
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ def _runtests(session, coverage, cmd_args):
|
||||||
_create_ci_directories()
|
_create_ci_directories()
|
||||||
try:
|
try:
|
||||||
if coverage is True:
|
if coverage is True:
|
||||||
_run_with_coverage(session, 'coverage', 'run', '-m', 'tests.runtests', *cmd_args)
|
_run_with_coverage(session, 'coverage', 'run', os.path.join('tests', 'runtests.py'), *cmd_args)
|
||||||
else:
|
else:
|
||||||
session.run('python', os.path.join('tests', 'runtests.py'), *cmd_args)
|
session.run('python', os.path.join('tests', 'runtests.py'), *cmd_args)
|
||||||
except CommandFailed:
|
except CommandFailed:
|
||||||
|
|
Loading…
Add table
Reference in a new issue