From: Michal Nowak Date: Thu, 5 Dec 2024 09:23:53 +0000 (+0100) Subject: Fix skipif decorators' conditions X-Git-Tag: v9.21.4~55^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a7b8d979509d86a432f09574de2e50e4f799cf4;p=thirdparty%2Fbind9.git Fix skipif decorators' conditions The ECDSA256 and ECDSA384 check conditions were switched. --- diff --git a/bin/tests/system/ecdsa/tests_ecdsa.py b/bin/tests/system/ecdsa/tests_ecdsa.py index 6ae613c2026..34b55d7ba10 100644 --- a/bin/tests/system/ecdsa/tests_ecdsa.py +++ b/bin/tests/system/ecdsa/tests_ecdsa.py @@ -38,16 +38,16 @@ def check_server_soa(resolver): @pytest.mark.skipif( - not os.environ["ECDSAP384SHA384_SUPPORTED"], - reason="algorithm ECDSA384 not supported", + not os.environ["ECDSAP256SHA256_SUPPORTED"], + reason="algorithm ECDSA256 not supported", ) def test_ecdsa256(): check_server_soa("10.53.0.2") @pytest.mark.skipif( - not os.environ["ECDSAP256SHA256_SUPPORTED"], - reason="algorithm ECDSA256 not supported", + not os.environ["ECDSAP384SHA384_SUPPORTED"], + reason="algorithm ECDSA384 not supported", ) def test_ecdsa384(): check_server_soa("10.53.0.3")