1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Skip two tests accessing network
Author: Andreas Tille <tille@debian.org>
Last-Update: Tue, 29 Sep 2020 09:46:21 +0200
--- a/etelemetry/tests/test_client.py
+++ b/etelemetry/tests/test_client.py
@@ -15,7 +15,7 @@
_etrequest(endpoint, timeout=0.001)
assert _etrequest(endpoint)
-
+@pytest.mark.skip(reason='Tries to download something')
def test_get_project():
repo = "invalidrepo"
with pytest.raises(ValueError):
@@ -40,6 +40,7 @@
os.environ["NO_ET"] = old_var[1]
+@pytest.mark.skip(reason='Tries to download something')
def test_check_available():
repo = "invalidrepo"
res = check_available_version(repo, "0.1.0")
|