mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 01:30: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()
|
||||
try:
|
||||
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:
|
||||
session.run('python', os.path.join('tests', 'runtests.py'), *cmd_args)
|
||||
except CommandFailed:
|
||||
|
|
Loading…
Add table
Reference in a new issue