[Python-modules-commits] [pylint-django] 06/06: get tests running again

Daniel Stender danstender-guest at moszumanska.debian.org
Sun Jan 24 12:52:48 UTC 2016


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

danstender-guest pushed a commit to branch master
in repository pylint-django.

commit 96af10f14538be1313fa1590ff9212b72152cceb
Author: Daniel Stender <debian at danielstender.com>
Date:   Sun Jan 24 13:50:37 2016 +0100

    get tests running again
---
 debian/changelog | 7 +++++--
 debian/control   | 2 ++
 debian/rules     | 4 ++++
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9657318..8a7825e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,10 +2,13 @@ pylint-django (0.7.1-1) UNRELEASED; urgency=medium
 
   * Team upload.
   * New upstream tarball (Closes: #807306).
-  * deb/control: corrected Homepage (Closes: #795000).
+  * deb/control:
+    + added Django to build deps (needed for tests).
+    + corrected Homepage (Closes: #795000).
+  * deb/rules: add dh_auto_test override with custom tests options.
   * Added deb/source/options (extend-diff-ignore on egg-info).
 
- -- Daniel Stender <debian at danielstender.com>  Sun, 24 Jan 2016 13:36:00 +0100
+ -- Daniel Stender <debian at danielstender.com>  Sun, 24 Jan 2016 13:50:49 +0100
 
 pylint-django (0.6-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 41258de..c7ffeb7 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,8 @@ Build-Depends: debhelper (>= 9),
                pylint3,
                python-pylint-plugin-utils,
                python3-pylint-plugin-utils,
+               python-django,
+               python3-django
 Standards-Version: 3.9.6
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3
diff --git a/debian/rules b/debian/rules
index 30d3b01..51601ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,3 +7,7 @@ export PYBUILD_NAME=pylint-django
 
 override_dh_install:
 	dh_install --fail-missing
+
+override_dh_auto_test:
+	# tests not running through
+	# PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. {interpreter} test/test_func.py" dh_auto_test

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



More information about the Python-modules-commits mailing list