From: Peter van Dijk Date: Tue, 31 Oct 2023 14:43:19 +0000 (+0100) Subject: auth-py tests: switch to pytest X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d15e1817d67a0412cc21e534b3789f83860ec4da;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 4b2c971a68..7f16dbc3bb 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 && docker compose up --detach --build) fi -nosetests --with-xunit $ignore $@ +pytest --junitxml=pytest.xml $ignore $@ ret=$? if [ "${WITHKERBEROS}" = "YES" ]; then