]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth-py tests: switch to pytest
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 31 Oct 2023 14:43:19 +0000 (15:43 +0100)
committerromeroalx <alexis.romero@open-xchange.com>
Wed, 7 May 2025 00:02:58 +0000 (02:02 +0200)
regression-tests.auth-py/requirements.txt
regression-tests.auth-py/runtests

index ee1ae3f24b658f01104f7cec0919b7120133b1d2..f1236ed89f9bb8b8c99bf6863ca3ceb5d434853e 100644 (file)
@@ -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
index 4b2c971a68075aea218f498e11ed9bd934cb56d3..7f16dbc3bbda15c86cf1dd69116bde8e7fd25b2b 100755 (executable)
@@ -31,13 +31,13 @@ if [ "${PDNS_DEBUG}" = "YES" ]; then
   set -x
 fi
 
-ignore="-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