[Python-modules-commits] [python-asyncssh] 06/07: d/rules: use unittest autodiscovery instead of setup.py to run tests

Vincent Bernat bernat at moszumanska.debian.org
Mon Sep 18 12:03:30 UTC 2017


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

bernat pushed a commit to branch debian/master
in repository python-asyncssh.

commit 00ccf041f5261e7a946247be9c62633322547632
Author: Vincent Bernat <vincent at bernat.im>
Date:   Mon Sep 18 12:42:41 2017 +0200

    d/rules: use unittest autodiscovery instead of setup.py to run tests
---
 debian/changelog | 1 +
 debian/rules     | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ceb71aa..bea6e8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ python-asyncssh (1.11.0-1) UNRELEASED; urgency=medium
   * New upstream version.
   * Refresh patches after git-dpm to gbp pq conversion
   * d/control: bump Standards-Version.
+  * d/rules: use unittest autodiscovery instead of setup.py to run tests.
 
  -- Vincent Bernat <bernat at debian.org>  Mon, 18 Sep 2017 12:06:36 +0200
 
diff --git a/debian/rules b/debian/rules
index 724e5d4..85ebeb6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,4 +12,5 @@ override_dh_installdocs:
 	dh_installdocs
 
 override_dh_auto_test:
-	env RES_OPTIONS=attempts:0 localehelper LANG=en_US.UTF-8 dh_auto_test
+	env RES_OPTIONS=attempts:0 localehelper LANG=en_US.UTF-8 \
+		dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -v'

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



More information about the Python-modules-commits mailing list