mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 18:50:01 -04:00
Fix skipif decorators' conditions
The ECDSA256 and ECDSA384 check conditions were switched.
(cherry picked from commit 2a7b8d9795)
This commit is contained in:
parent
844a531053
commit
85176a62ca
1 changed files with 4 additions and 4 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue