bind9/bin
Michał Kępień dbddc22187 Fix skipping tests requiring the requests module
The intended purpose of the @pytest.mark.requests decorator was to cause
Python-based parts of the "statschannel" system test to be skipped if
the requests Python module is not available.  However, both
tests-json.py and tests-xml.py contain a global "import requests"
statement which triggers ImportError exceptions during test
initialization if the requests module is not available.  In other words,
the @pytest.mark.requests decorator serves no useful purpose.

Since all tests in both tests-json.py and tests-xml.py depend on the
requests Python module, employ pytest.importorskip() to ensure the
Python-based parts of the "statschannel" system test are skipped when
the requests module is not available.  Remove all occurrences of the
@pytest.mark.requests decorator (and all associated code) to prevent
confusion.

(cherry picked from commit 704ad2907f)
2022-03-14 09:04:10 +01:00
..
check Refer to RFC 4592 for DNS wildcards 2022-03-10 20:18:52 +01:00
confgen Split out ddns-confgen and tsig-keygen man pages 2022-03-10 20:18:52 +01:00
delv Use compile-time paths in the manual pages 2022-02-10 17:08:24 +01:00
dig Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
dnssec Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
named Make dns_catz_get_iterator() return void 2022-03-08 20:47:06 +01:00
nsupdate Reorder the nsupdate shutdown code to shutdown managers early 2022-03-08 09:50:13 +01:00
plugins Make isc_ht_init() and isc_ht_iter_create() return void 2022-03-08 20:47:06 +01:00
rndc Remove usage of deprecated ATOMIC_VAR_INIT() macro 2022-03-09 09:25:37 +01:00
tests Fix skipping tests requiring the requests module 2022-03-14 09:04:10 +01:00
tools Fix the remaining cases of <prog>_CFLAGS -> <prog>_CPPFLAGS 2022-03-13 18:53:19 +01:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00