mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
new directory format doesn't work easily with pyargs according to http://doc.pytest.org/en/latest/goodpractices.html#tests-as-part-of-application-code
This commit is contained in:
parent
933d2c9bb6
commit
24ebf0e078
1 changed files with 2 additions and 2 deletions
|
|
@ -47,8 +47,8 @@ def cover(package):
|
|||
.format(pkg_dir)))
|
||||
return
|
||||
|
||||
subprocess.check_call([sys.executable, '-m', 'pytest', '--pyargs',
|
||||
'--cov', pkg_dir, '--cov-append', '--cov-report=', package])
|
||||
subprocess.check_call([sys.executable, '-m', 'pytest',
|
||||
'--cov', pkg_dir, '--cov-append', '--cov-report=', pkg_dir])
|
||||
subprocess.check_call([
|
||||
sys.executable, '-m', 'coverage', 'report', '--fail-under', str(threshold), '--include',
|
||||
'{0}/*'.format(pkg_dir), '--show-missing'])
|
||||
|
|
|
|||
Loading…
Reference in a new issue