From: Peter van Dijk Date: Tue, 31 Oct 2023 14:43:19 +0000 (+0100) Subject: auth-py tests: switch to pytest X-Git-Tag: rec-5.0.0-beta1~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13439%2Fhead;p=thirdparty%2Fpdns.git auth-py tests: switch to pytest --- diff --git a/regression-tests.auth-py/requirements.txt b/regression-tests.auth-py/requirements.txt index ee1ae3f24b..f1236ed89f 100644 --- a/regression-tests.auth-py/requirements.txt +++ b/regression-tests.auth-py/requirements.txt @@ -1,5 +1,5 @@ dnspython==2.1.0 -nose>=1.3.7 +pytest Twisted>0.15.0 requests>=2.18.4 git+https://github.com/PowerDNS/xfrserver.git@0.3 diff --git a/regression-tests.auth-py/runtests b/regression-tests.auth-py/runtests index 45c6d62f27..22f0b14639 100755 --- a/regression-tests.auth-py/runtests +++ b/regression-tests.auth-py/runtests @@ -31,13 +31,13 @@ if [ "${PDNS_DEBUG}" = "YES" ]; then set -x fi -ignore="-I test_GSSTSIG.py" +ignore="--ignore=test_GSSTSIG.py" if [ "${WITHKERBEROS}" = "YES" ]; then ignore="" (cd kerberos-server && sudo docker compose up --detach --build) fi -nosetests --with-xunit $ignore $@ +pytest --junitxml=pytest.xml $ignore $@ ret=$? if [ "${WITHKERBEROS}" = "YES" ]; then