[med-svn] [Git][med-team/python-etelemetry][master] Skip two tests accessing network

Andreas Tille (@tille) gitlab at salsa.debian.org
Thu Feb 17 15:57:15 GMT 2022



Andreas Tille pushed to branch master at Debian Med / python-etelemetry


Commits:
dcaf767e by Andreas Tille at 2022-02-17T16:56:52+01:00
Skip two tests accessing network

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/series
- + debian/patches/skip_online_tests.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,7 @@ python-etelemetry (0.2.2-1) UNRELEASED; urgency=medium
   * Fix watchfile to detect new versions on github
   * Use filenamemangle in watchfile
   * Standards-Version: 4.6.0 (routine-update)
+  * Skip two tests accessing network
   TODO: ci-info package is mandatory now -> ITP #1004480
 
  -- Andreas Tille <tille at debian.org>  Tue, 29 Sep 2020 09:46:21 +0200


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+skip_online_tests.patch


=====================================
debian/patches/skip_online_tests.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Skip two tests accessing network
+Author: Andreas Tille <tille at 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 @@ def test_etrequest():
+         _etrequest(endpoint, timeout=0.01)
+     assert _etrequest(endpoint)
+ 
+-
++ at pytest.mark.skip(msg='Tries to download something')
+ def test_get_project():
+     repo = "invalidrepo"
+     with pytest.raises(ValueError):
+@@ -40,6 +40,7 @@ def test_noet():
+         os.environ["NO_ET"] = old_var[1]
+ 
+ 
++ at pytest.mark.skip(msg='Tries to download something')
+ def test_check_available():
+     repo = "invalidrepo"
+     res = check_available_version(repo, "0.1.0")



View it on GitLab: https://salsa.debian.org/med-team/python-etelemetry/-/commit/dcaf767e4393fd4fdfb6e6868c4f05003a0ba892

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-etelemetry/-/commit/dcaf767e4393fd4fdfb6e6868c4f05003a0ba892
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220217/94bf9916/attachment-0001.htm>


More information about the debian-med-commit mailing list