[Python-modules-commits] [django-tables] 01/01: Fix tests.

Brian May bam at moszumanska.debian.org
Wed Oct 28 10:25:19 UTC 2015


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

bam pushed a commit to branch master
in repository django-tables.

commit 7701cd1ef0686e55ea8151396929f9965e2cec62
Author: Brian May <bam at debian.org>
Date:   Wed Oct 28 17:50:03 2015 +1100

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

diff --git a/debian/changelog b/debian/changelog
index 19a1227..897b669 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+django-tables (1.0.4-2) unstable; urgency=medium
+
+  * Implement working tests.
+
+ -- Brian May <bam at debian.org>  Wed, 28 Oct 2015 21:20:03 +1100
+
 django-tables (1.0.4-1) unstable; urgency=medium
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index e72a45a..d4b5d90 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,10 @@ Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.
 Uploaders: Brian May <bam at debian.org>
 Build-Depends: debhelper (>=8.1.0), dh-python,
  python-all (>= 2.6.6-3~), python-django (>= 1.4.5), python-setuptools, python-six,
+ python-pytest-django, python-fudge, python-lxml, python-tz,
+ python-django-haystack,
  python3-all, python3-django (>= 1.4.5), python3-setuptools, python3-six,
+ python3-pytest-django, python3-fudge, python3-lxml, python3-tz,
 Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~), python-doc, python-django-doc
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.6
diff --git a/debian/rules b/debian/rules
index 81bce22..4c44c95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,5 @@ override_dh_auto_build:
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
-	# Tests require attest which isn't in Debian yet.
-	# https://pypi.python.org/pypi/Attest/0.5.3
-	# Disabling tests for now.
+	PYTHONPATH=. \
+	    dh_auto_test -- --system=custom --test-args="{interpreter} /usr/bin/py.test"

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



More information about the Python-modules-commits mailing list