mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Install nose no-network and timer plugins, use no-network in test & coverage
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
coverage
|
coverage
|
||||||
mock
|
mock
|
||||||
nose
|
nose
|
||||||
|
nose-no-network
|
||||||
|
nose-timer
|
||||||
pycodestyle==2.6.0
|
pycodestyle==2.6.0
|
||||||
pyflakes==2.2.0
|
pyflakes==2.2.0
|
||||||
readme_renderer[md]==26.0
|
readme_renderer[md]==26.0
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ grep -r -I --line-number "# pragma: +no.*cover" octodns && {
|
|||||||
exit 1
|
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 html
|
||||||
coverage xml
|
coverage xml
|
||||||
coverage report --show-missing
|
coverage report --show-missing
|
||||||
|
|||||||
@@ -30,4 +30,4 @@ export ARM_CLIENT_SECRET=
|
|||||||
export ARM_TENANT_ID=
|
export ARM_TENANT_ID=
|
||||||
export ARM_SUBSCRIPTION_ID=
|
export ARM_SUBSCRIPTION_ID=
|
||||||
|
|
||||||
nosetests "$@"
|
nosetests --with-no-network "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user