[Python-modules-commits] [nose2] 06/06: Fix tests

Brian May bam at moszumanska.debian.org
Tue Feb 23 06:00:26 UTC 2016


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

bam pushed a commit to branch master
in repository nose2.

commit ede11ea034be84227b85c63f20347ba80df57617
Author: Brian May <bam at debian.org>
Date:   Tue Feb 23 16:31:20 2016 +1100

    Fix tests
---
 debian/control | 4 +++-
 debian/rules   | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 45e7331..248aeb6 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,12 @@ Build-Depends: debhelper,
                python-all,
                python-setuptools,
                python-six,
+               python-mock,
                python-sphinx,
                python3-all,
                python3-setuptools,
-               python3-six
+               python3-six,
+               python3-mock,
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
 Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index eea9769..1fe69d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,3 +28,6 @@ override_dh_installman:
 	cp debian/nose2.1   debian/nose2-2.7.1
 	cp debian/nose2-3.1 debian/nose2-3.4.1
 	dh_installman
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="{interpreter} -m nose2.__main__ -v"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/nose2.git



More information about the Python-modules-commits mailing list