[Python-modules-commits] [python-django-audit-log] 01/01: Fix tests.

Brian May bam at moszumanska.debian.org
Mon Oct 26 03:17:32 UTC 2015


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

bam pushed a commit to branch master
in repository python-django-audit-log.

commit 78b04f9c680ac8a7b624f734287f77c2324d360b
Author: Brian May <bam at debian.org>
Date:   Mon Oct 26 14:11:07 2015 +1100

    Fix tests.
---
 debian/changelog | 6 ++++++
 debian/rules     | 5 ++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8bfee45..1d83c0d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-django-audit-log (0.7.0-3) unstable; urgency=medium
+
+  * Run tests for Python 3.4 and Python 3.5.
+
+ -- Brian May <bam at debian.org>  Mon, 26 Oct 2015 14:10:16 +1100
+
 python-django-audit-log (0.7.0-2) unstable; urgency=medium
 
   * Add missing VCS-* fields.
diff --git a/debian/rules b/debian/rules
index 188baae..81fbdd6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,5 @@ export PYBUILD_NAME=django-audit-log
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-	PYTHONPATH=. python2 ./audit_log/tests/runtests.py 
-	PYTHONPATH=. python3 ./audit_log/tests/runtests.py 
-
+	PYTHONPATH=. \
+	dh_auto_test -- --system=custom --test-args="{interpreter} ./audit_log/tests/runtests.py"

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



More information about the Python-modules-commits mailing list