[med-svn] [Git][med-team/python-etelemetry][master] 2 commits: Use "reason" as argument instead of "msg" while marking tests as skip

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Tue Jul 12 15:10:04 BST 2022



Nilesh Patra pushed to branch master at Debian Med / python-etelemetry


Commits:
86aaf175 by Nilesh Patra at 2022-07-12T19:26:57+05:30
Use "reason" as argument instead of "msg" while marking tests as skip

- - - - -
2d19ed19 by Nilesh Patra at 2022-07-12T19:27:33+05:30
Upload to unstable

- - - - -


2 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-etelemetry (0.3.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * Use "reason" as argument instead of "msg" while
+    marking tests as skip (Closes: #1014486)
+
+ -- Nilesh Patra <nilesh at debian.org>  Tue, 12 Jul 2022 19:27:04 +0530
+
 python-etelemetry (0.3.0-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/patches/skip_online_tests.patch
=====================================
@@ -4,20 +4,20 @@ 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():
+@@ -15,7 +15,7 @@
          _etrequest(endpoint, timeout=0.001)
      assert _etrequest(endpoint)
  
 -
-+ at pytest.mark.skip(msg='Tries to download something')
++ at pytest.mark.skip(reason='Tries to download something')
  def test_get_project():
      repo = "invalidrepo"
      with pytest.raises(ValueError):
-@@ -40,6 +40,7 @@ def test_noet():
+@@ -40,6 +40,7 @@
          os.environ["NO_ET"] = old_var[1]
  
  
-+ at pytest.mark.skip(msg='Tries to download something')
++ at pytest.mark.skip(reason='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/-/compare/c7a5a45c538e95fdf3b689d6129ec602849fc632...2d19ed19832d1158ce59168852dd773213bbd89c

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-etelemetry/-/compare/c7a5a45c538e95fdf3b689d6129ec602849fc632...2d19ed19832d1158ce59168852dd773213bbd89c
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/20220712/519daab1/attachment-0001.htm>


More information about the debian-med-commit mailing list