[med-svn] [Git][python-team/packages/python-avro][master] 2 commits: Skip test accessing network

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



Andreas Tille pushed to branch master at Debian Python Team / packages / python-avro


Commits:
8e45a142 by Andreas Tille at 2022-02-17T16:18:49+01:00
Skip test accessing network

- - - - -
d5a7aff7 by Andreas Tille at 2022-02-17T16:20:04+01:00
Upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-avro (1.11.0+dfsg-1) UNRELEASED; urgency=medium
+python-avro (1.11.0+dfsg-1) unstable; urgency=medium
 
   * Team upload.
   * Move package to Debian Python Team
@@ -7,8 +7,9 @@ python-avro (1.11.0+dfsg-1) UNRELEASED; urgency=medium
   * Remove unneeded patch
   * Fix sourcedir
   * Fix clean target
+  * Skip test accessing network
 
- -- Andreas Tille <tille at debian.org>  Sun, 02 Jan 2022 08:39:26 +0100
+ -- Andreas Tille <tille at debian.org>  Thu, 17 Feb 2022 16:19:01 +0100
 
 python-avro (1.10.2+dfsg-1) unstable; urgency=medium
 


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


=====================================
debian/patches/skip_online_tests.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Skip test accessing network
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 02 Jan 2022 08:39:26 +0100
+
+--- a/lang/py/avro/test/test_ipc.py
++++ b/lang/py/avro/test/test_ipc.py
+@@ -31,6 +31,7 @@ class TestIPC(unittest.TestCase):
+     def test_placeholder(self):
+         pass
+ 
++    @unittest.skip(reason='Tries to download something')
+     def test_server_with_path(self):
+         client_with_custom_path = avro.ipc.HTTPTransceiver("apache.org", 80, "/service/article")
+         self.assertEqual("/service/article", client_with_custom_path.req_resource)


=====================================
debian/rules
=====================================
@@ -10,6 +10,9 @@ export PYBUILD_NAME = avro
 export LC_ALL=C.UTF-8
 export JAVA_HOME=/usr/lib/jvm/default-java
 
+export  http_proxy=http://127.0.0.1:9/
+export  https_proxy=http://127.0.0.1:9/
+
 %:
 	dh $@                                   \
 		--with python3                  \



View it on GitLab: https://salsa.debian.org/python-team/packages/python-avro/-/compare/80a8408e96cc48f78ea285f0a09d7e7fe4e387dc...d5a7aff70211c8b6ddd3a6da8f7820caa1e7949a

-- 
View it on GitLab: https://salsa.debian.org/python-team/packages/python-avro/-/compare/80a8408e96cc48f78ea285f0a09d7e7fe4e387dc...d5a7aff70211c8b6ddd3a6da8f7820caa1e7949a
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/86cdc99f/attachment-0001.htm>


More information about the debian-med-commit mailing list