[med-svn] [python-cogent] 01/02: Fix test checking path to ls

Andreas Tille tille at debian.org
Fri Jun 16 12:39:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository python-cogent.

commit d914ac9c0244d42caf842bd6becd7d2e173c3b61
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jun 16 13:31:39 2017 +0200

    Fix test checking path to ls
---
 debian/changelog                |  3 ++-
 debian/patches/series           |  1 +
 debian/patches/usr_bin_ls.patch | 15 +++++++++++++++
 3 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 7261285..275dbcf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-cogent (1.9-10) UNRELEASED; urgency=medium
+python-cogent (1.9-10) unstable; urgency=medium
 
   * Team upload.
 
@@ -7,6 +7,7 @@ python-cogent (1.9-10) UNRELEASED; urgency=medium
   
   [ Andreas Tille ]
   * Move packaging from SVN to Git
+  * Fix test checking path to ls
 
  -- Naidya Sitdykova <rovenskasa at gmail.com>  Thu, 15 Jun 2017 23:26:56 -0400
 
diff --git a/debian/patches/series b/debian/patches/series
index 4b60c66..a92e515 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ rdp_classifier.patch
 skip_weak_tests.patch
 adapt_to_ncbi-data_201609.patch
 ignore_numpy_test_issue.patch
+usr_bin_ls.patch
diff --git a/debian/patches/usr_bin_ls.patch b/debian/patches/usr_bin_ls.patch
new file mode 100644
index 0000000..5a3661d
--- /dev/null
+++ b/debian/patches/usr_bin_ls.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 16 Jun 2017 13:30:22 +0200
+Desription: ls is in /usr/bin/ls now
+
+--- a/tests/test_util/test_misc.py
++++ b/tests/test_util/test_misc.py
+@@ -1626,7 +1626,7 @@ class reverse_complementTests(TestCase):
+ 
+     def test_app_path(self):
+         """app_path should return correct paths"""
+-        self.assertEqual(app_path('ls'), '/bin/ls')
++        self.assertEqual(app_path('ls'), '/usr/bin/ls')
+         self.assertEqual(app_path('lsxxyyx'), False)
+ 
+ class CommandLineParserTests(TestCase):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-cogent.git



More information about the debian-med-commit mailing list