[med-svn] [Git][med-team/intake][master] Fix some tests via patch

Shayan Doust gitlab at salsa.debian.org
Fri Jun 19 17:51:41 BST 2020



Shayan Doust pushed to branch master at Debian Med / intake


Commits:
9e3cf79c by Shayan Doust at 2020-06-19T17:51:25+01:00
Fix some tests via patch

- - - - -


2 changed files:

- + debian/patches/fix_tests.patch
- + debian/patches/series


Changes:

=====================================
debian/patches/fix_tests.patch
=====================================
@@ -0,0 +1,11 @@
+--- intake.orig/intake/conftest.py
++++ intake/intake/conftest.py
+@@ -144,7 +144,7 @@
+     if PY2:
+         cmd = ['python', '-m', 'SimpleHTTPServer', port_as_str]
+     else:
+-        cmd = ['python', '-m', 'http.server', port_as_str]
++        cmd = ['python3', '-m', 'http.server', port_as_str]
+     p = subprocess.Popen(cmd, cwd=os.path.join(here, 'catalog', 'tests'))
+     url = 'http://localhost:{}/'.format(port_as_str)
+     timeout = 5


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



View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/9e3cf79c1b8639228b5241781e3ec1246be8f2b6

-- 
View it on GitLab: https://salsa.debian.org/med-team/intake/-/commit/9e3cf79c1b8639228b5241781e3ec1246be8f2b6
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/20200619/bea8372b/attachment-0001.html>


More information about the debian-med-commit mailing list