1
0
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:
Ross McFarland
2021-09-02 05:00:15 -07:00
parent 2ee690d36c
commit c878ec6eee
3 changed files with 4 additions and 2 deletions

View File

@@ -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

View File

@@ -30,4 +30,4 @@ export ARM_CLIENT_SECRET=
export ARM_TENANT_ID=
export ARM_SUBSCRIPTION_ID=
nosetests "$@"
nosetests --with-no-network "$@"