mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-22 16:02:49 -04:00
Replace the custom DNS server used in the "tsig" system test with new code based on the isctest.asyncserver module.
29 lines
774 B
Python
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()
|