]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix skipif decorators' conditions
authorMichal Nowak <mnowak@isc.org>
Thu, 5 Dec 2024 09:23:53 +0000 (10:23 +0100)
committerMichal Nowak <mnowak@isc.org>
Thu, 5 Dec 2024 18:22:05 +0000 (18:22 +0000)
The ECDSA256 and ECDSA384 check conditions were switched.

bin/tests/system/ecdsa/tests_ecdsa.py

index 6ae613c202690c77d990e9a49d36807c669fa242..34b55d7ba1015550e783ca1618658629b4c9f54b 100644 (file)
@@ -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")