bind9/bin/tests/system/tsig/tests_sh_tsig.py
Štěpán Balážik e34e831cab Use isctest.asyncserver in the "tsig" test
Replace the custom DNS server used in the "tsig" system test with
new code based on the isctest.asyncserver module.
2025-07-13 10:57:04 +02:00

29 lines
774 B
Python

# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
#
# SPDX-License-Identifier: MPL-2.0
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# See the COPYRIGHT file distributed with this work for additional
# information regarding copyright ownership.
import pytest
pytestmark = pytest.mark.extra_artifacts(
[
"dig.out.*",
"keygen.out*",
"packet.out",
"ans*/ans.run",
"ns1/named-fips.conf",
]
)
# TSIG queries not supported by isctest.asyncserver with old dnspython
pytest.importorskip("dns", minversion="2.0.0")
def test_tsig(run_tests_sh):
run_tests_sh()