[Reportbug-commits] [reportbug] 01/05: use 'python3-reportbug' in tests examples

Sandro Tosi morph at moszumanska.debian.org
Thu Jan 5 01:21:41 UTC 2017


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

morph pushed a commit to branch master
in repository reportbug.

commit 74ad9c42eb629b2e4bafbc9c9234d9be357daadd
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Jan 4 19:58:52 2017 -0500

    use 'python3-reportbug' in tests examples
---
 test/test_utils.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/test/test_utils.py b/test/test_utils.py
index fcc74b0..ab05664 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -290,22 +290,20 @@ Version: 6.6.3
 
 
 class TestSourcePackages(unittest.TestCase):
-    # @unittest.skip("Too slow")
     def test_get_source_name(self):
-        binpkg = 'python-reportbug'
+        binpkg = 'python3-reportbug'
         src = utils.get_source_name(binpkg)
         self.assertEqual(src, 'reportbug')
 
         src = utils.get_source_name('reportbug-bugfree')
         self.assertIsNone(src)
 
-    # @unittest.skip("Too slow")
     def test_get_source_package(self):
         src = 'reportbug'
         binpkgs = utils.get_source_package(src)
-        self.assertCountEqual([bin[0] for bin in binpkgs], ['python-reportbug', 'reportbug'])
+        self.assertCountEqual([bin[0] for bin in binpkgs], ['python3-reportbug', 'reportbug'])
 
-        bin = 'python-reportbug'
+        bin = 'python3-reportbug'
         binpkgs_frombin = utils.get_source_package(bin)
         self.assertEqual(binpkgs, binpkgs_frombin)
 

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



More information about the Reportbug-commits mailing list