mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
fix: test: ecdsa pytest rewrite fixes
Merge branch 'mnowak/ecdsa-pytest-rewrite-fixes' into 'main' See merge request isc-projects/bind9!9823
This commit is contained in:
@@ -38,16 +38,16 @@ def check_server_soa(resolver):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
not os.environ["ECDSAP384SHA384_SUPPORTED"],
|
not os.getenv("ECDSAP256SHA256_SUPPORTED"),
|
||||||
reason="algorithm ECDSA384 not supported",
|
reason="algorithm ECDSA256 not supported",
|
||||||
)
|
)
|
||||||
def test_ecdsa256():
|
def test_ecdsa256():
|
||||||
check_server_soa("10.53.0.2")
|
check_server_soa("10.53.0.2")
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(
|
@pytest.mark.skipif(
|
||||||
not os.environ["ECDSAP256SHA256_SUPPORTED"],
|
not os.getenv("ECDSAP384SHA384_SUPPORTED"),
|
||||||
reason="algorithm ECDSA256 not supported",
|
reason="algorithm ECDSA384 not supported",
|
||||||
)
|
)
|
||||||
def test_ecdsa384():
|
def test_ecdsa384():
|
||||||
check_server_soa("10.53.0.3")
|
check_server_soa("10.53.0.3")
|
||||||
|
Reference in New Issue
Block a user