Browse Source
Install nose no-network and timer plugins, use no-network in test & coverage
pull/769/head
Ross McFarland
4 years ago
No known key found for this signature in database
GPG Key ID: 943B179E15D3B22A
3 changed files with
4 additions and
2 deletions
-
requirements-dev.txt
-
script/coverage
-
script/test
|
|
|
@ -1,6 +1,8 @@ |
|
|
|
coverage |
|
|
|
mock |
|
|
|
nose |
|
|
|
nose-no-network |
|
|
|
nose-timer |
|
|
|
pycodestyle==2.6.0 |
|
|
|
pyflakes==2.2.0 |
|
|
|
readme_renderer[md]==26.0 |
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ grep -r -I --line-number "# pragma: +no.*cover" octodns && { |
|
|
|
exit 1 |
|
|
|
} |
|
|
|
|
|
|
|
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-xunit "$@" |
|
|
|
coverage run --branch --source=octodns --omit=octodns/cmds/* "$(command -v nosetests)" --with-no-network --with-xunit "$@" |
|
|
|
coverage html |
|
|
|
coverage xml |
|
|
|
coverage report --show-missing |
|
|
|
|
|
|
|
@ -30,4 +30,4 @@ export ARM_CLIENT_SECRET= |
|
|
|
export ARM_TENANT_ID= |
|
|
|
export ARM_SUBSCRIPTION_ID= |
|
|
|
|
|
|
|
nosetests "$@" |
|
|
|
nosetests --with-no-network "$@" |