1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Do not try to access Internet during build
Author: Santiago Vila <sanvila@debian.org>
Bug-Debian: https://bugs.debian.org/1107280
--- a/tests/io/vasp/test_help.py
+++ b/tests/io/vasp/test_help.py
@@ -11,10 +11,7 @@
BeautifulSoup = pytest.importorskip("bs4").BeautifulSoup
-try:
- website_down = requests.get("https://www.vasp.at", timeout=5).status_code != 200
-except (requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout):
- website_down = True
+website_down = True
@pytest.mark.skipif(website_down, reason="www.vasp.at is down")
|