bind9/bin/tests
Michał Kępień 704ad2907f 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.
2022-03-14 08:59:32 +01:00
..
startperf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
system Fix skipping tests requiring the requests module 2022-03-14 08:59:32 +01:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
Makefile.am Update .gitlab-ci.yml with openssl setup 2022-01-27 10:46:58 +01:00
test_client.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
test_server.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
wire_test.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00