]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth-py tests: switch to pytest 13439/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 31 Oct 2023 14:43:19 +0000 (15:43 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Tue, 31 Oct 2023 14:43:19 +0000 (15:43 +0100)
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 45c6d62f27ffc7d76cef5fa597b65c42ddebdf9b..22f0b14639c339f9f5e01ed1dc98a027f9644c7b 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 && sudo docker compose up --detach --build)
 fi
 
-nosetests --with-xunit $ignore $@
+pytest --junitxml=pytest.xml $ignore $@
 ret=$?
 
 if [ "${WITHKERBEROS}" = "YES" ]; then