Home | History | Annotate | Line # | Download | only in rpz
      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 pytestmark = pytest.mark.extra_artifacts(
     15     [
     16         "dig.out*",
     17         "dnsrps.cache",
     18         "dnsrps.conf",
     19         "dnsrps.zones",
     20         "proto.*",
     21         "test*",
     22         "trusted.conf",
     23         "ns2/K*",
     24         "ns2/bl.tld2.db",
     25         "ns2/tld2s.db",
     26         "ns3/bl-2.db",
     27         "ns3/bl-cname.db",
     28         "ns3/bl-disabled.db",
     29         "ns3/bl-drop.db",
     30         "ns3/bl-garden.db",
     31         "ns3/bl-given.db",
     32         "ns3/bl-no-op.db",
     33         "ns3/bl-nodata.db",
     34         "ns3/bl-nxdomain.db",
     35         "ns3/bl-passthru.db",
     36         "ns3/bl-tcp-only.db",
     37         "ns3/bl-wildcname.db",
     38         "ns3/bl.db",
     39         "ns3/bl.tld2.db",
     40         "ns3/evil-cname.db",
     41         "ns3/fast-expire.db",
     42         "ns3/include-rpz.db",
     43         "ns3/include-rpz.inc",
     44         "ns3/manual-update-rpz.db",
     45         "ns3/mixed-case-rpz.db",
     46         "ns3/named.conf.tmp",
     47         "ns3/named.stats",
     48         "ns3/outofzone.db",
     49         "ns3/slow-rpz.db",
     50         "ns3/wild-cname.db",
     51         "ns5/bl.db",
     52         "ns5/empty.db",
     53         "ns5/empty.db.jnl",
     54         "ns5/example.db",
     55         "ns5/expire.conf",
     56         "ns5/fast-expire.db",
     57         "ns5/named.stats",
     58         "ns5/policy2.db",
     59         "ns5/policy2.db.jnl",
     60         "ns5/rpz-switch",
     61         "ns6/bl.tld2s.db",
     62         "ns6/empty.db",
     63         "ns6/named.stats",
     64         "ns7/policy2.db",
     65         "ns8/manual-update-rpz.db",
     66     ]
     67 )
     68 
     69 
     70 def test_rpz(run_tests_sh):
     71     run_tests_sh()
     72