[med-svn] [Git][med-team/intake][master] 2 commits: Add mlist-parameter-test.patch: fix build time test failure.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sun Jan 16 22:13:47 GMT 2022



Étienne Mollier pushed to branch master at Debian Med / intake


Commits:
f59d161a by Étienne Mollier at 2022-01-16T23:12:13+01:00
Add mlist-parameter-test.patch: fix build time test failure.

- - - - -
6aabfbb0 by Étienne Mollier at 2022-01-16T23:13:10+01:00
update changelog

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/mlist-parameter-test.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,18 +1,13 @@
 intake (0.6.5-1) UNRELEASED; urgency=medium
 
+  [ Andreas Tille ]
   * Team upload.
   * New upstream version
-  TODO: dh_auto_test failure:
-                  except ValueError as e:
-    >                   raise ValueError("Failed to coerce string to list") from e
-    E                   ValueError: Failed to coerce string to list
-    
-    intake/catalog/utils.py:321: ValueError
-    =========================== short test summary info ============================
-    FAILED intake/catalog/tests/test_parameters.py::test_mlist_parameter - ValueE...
-    ================== 1 failed, 395 passed, 29 skipped in 57.04s ==================
-
- -- Andreas Tille <tille at debian.org>  Sun, 16 Jan 2022 21:04:07 +0100
+
+  [ Étienne Mollier ]
+  * Add mlist-parameter-test.patch: fix build time test failure.
+
+ -- Étienne Mollier <emollier at debian.org>  Sun, 16 Jan 2022 23:12:34 +0100
 
 intake (0.6.4-2) unstable; urgency=medium
 


=====================================
debian/patches/mlist-parameter-test.patch
=====================================
@@ -0,0 +1,18 @@
+Description: ajust test_mlist_parameter to recognize ValueError
+ This fixes a build time testing failure.
+Author: Étienne Mollier <emollier at debian.org>
+Forwarded: no
+Last-Update: 2022-01-16
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- intake.orig/intake/catalog/tests/test_parameters.py
++++ intake/intake/catalog/tests/test_parameters.py
+@@ -173,7 +173,7 @@
+         up.validate(["c"])
+     with pytest.raises(ValueError):
+         up.validate(["a", "c"])
+-    with pytest.raises(TypeError):
++    with pytest.raises(ValueError):
+         up.validate("hello")
+ 
+ 


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ fix_privacy_breach.patch
 fix_tests.patch
 architectures-support.patch
 typo-in-manual-page.patch
+mlist-parameter-test.patch



View it on GitLab: https://salsa.debian.org/med-team/intake/-/compare/e1eee10661e0686ad24a6a8bb0462598c5a288ee...6aabfbb0f39a810d22ac8eddc88791b1dfd2ca39

-- 
View it on GitLab: https://salsa.debian.org/med-team/intake/-/compare/e1eee10661e0686ad24a6a8bb0462598c5a288ee...6aabfbb0f39a810d22ac8eddc88791b1dfd2ca39
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/20220116/67d71e7e/attachment-0001.htm>


More information about the debian-med-commit mailing list