mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 08:35:21 +00:00
As a script, not as a module
This commit is contained in:
parent
6fc0b76576
commit
6bf50cdbee
@ -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…
Reference in New Issue
Block a user