[med-svn] [Git][med-team/cwltool][master] Increase resiliance of test_malformed_reqs

Michael R. Crusoe (@crusoe) gitlab at salsa.debian.org
Fri Oct 1 09:33:01 BST 2021



Michael R. Crusoe pushed to branch master at Debian Med / cwltool


Commits:
d0edb5ce by Michael R. Crusoe at 2021-10-01T09:36:41+02:00
Increase resiliance of test_malformed_reqs

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/fix-test_malformed_reqs
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+cwltool (3.1.20210922203925-4) unstable; urgency=medium
+
+  * Increase resiliance of test_malformed_reqs
+
+ -- Michael R. Crusoe <crusoe at debian.org>  Fri, 01 Oct 2021 09:36:35 +0200
+
 cwltool (3.1.20210922203925-3) unstable; urgency=medium
 
   * Autopkgtests: Correct name of pytest package.


=====================================
debian/patches/fix-test_malformed_reqs
=====================================
@@ -0,0 +1,14 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Increase resiliance of test_malformed_reqs
+Forwarded: https://github.com/common-workflow-language/cwltool/pull/1540
+--- cwltool.orig/tests/test_examples.py
++++ cwltool/tests/test_examples.py
+@@ -1525,7 +1525,7 @@
+     factory = cwltool.factory.Factory()
+     with pytest.raises(
+         ValidationException,
+-        match=r".*wc-tool-bad-reqs\.cwl:6:1: If 'requirements' is\s*present\s*then\s*it\s*must\s*be\s*a\s*list.*",
++        match=r".*wc-tool-bad-reqs\.cwl:6:1:\s*If\s*'requirements'\s*is\s*present\s*then\s*it\s*must\s*be\s*a\s*list.*",
+     ):
+         factory.make(get_data("tests/wc-tool-bad-reqs.cwl"))
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 disable_prov
 python3
+fix-test_malformed_reqs



View it on GitLab: https://salsa.debian.org/med-team/cwltool/-/commit/d0edb5ceec28b77e2d1fee7b39b5974dca08de4e

-- 
View it on GitLab: https://salsa.debian.org/med-team/cwltool/-/commit/d0edb5ceec28b77e2d1fee7b39b5974dca08de4e
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/20211001/14cd2ab1/attachment-0001.htm>


More information about the debian-med-commit mailing list