]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Allow skipping test cases that need Internet access 808/head
authorBenjamin Drung <bdrung@ubuntu.com>
Mon, 16 May 2022 10:59:58 +0000 (12:59 +0200)
committerBenjamin Drung <bdrung@ubuntu.com>
Mon, 16 May 2022 10:59:58 +0000 (12:59 +0200)
commit220a6d8e93386bc64d3bdb6b15384ec7e7ad5b8f
tree7594cfb6984c1a7371a205b08b90ea1068cf5219
parent0b7f5fe05b157164d0fad543bceb483e07abffde
Allow skipping test cases that need Internet access

Support skipping all test cases that access the Internet by setting the
environment variable `NO_INTERNET`. This is useful to make the test run
reproducible and robust for future runs (to avoid breaking in case some
random service on the Internet changes).

Signed-off-by: Benjamin Drung <bdrung@ubuntu.com>
tests/util.py