1 # Copyright (C) Internet Systems Consortium, Inc. ("ISC") 2 # 3 # SPDX-License-Identifier: MPL-2.0 4 # 5 # This Source Code Form is subject to the terms of the Mozilla Public 6 # License, v. 2.0. If a copy of the MPL was not distributed with this 7 # file, you can obtain one at https://mozilla.org/MPL/2.0/. 8 # 9 # See the COPYRIGHT file distributed with this work for additional 10 # information regarding copyright ownership. 11 12 import pytest 13 14 # isctest.asyncserver requires dnspython >= 2.0.0 15 pytest.importorskip("dns", minversion="2.0.0") 16 17 pytestmark = pytest.mark.extra_artifacts( 18 [ 19 "dig.out.*", 20 "named.run.*", 21 "rndc.out.*", 22 "ans*/ans.run", 23 "ans*/query.log", 24 "ns1/named_dump.db*", 25 "ns4/named.cookiealwaysvalid", 26 ] 27 ) 28 29 30 def test_cookie(run_tests_sh): 31 run_tests_sh() 32