[Python-modules-commits] [python-django-localflavor] 05/09: d/rules override tests to run them correctly

Orestis Ioannou oorestisime-guest at moszumanska.debian.org
Sat Nov 28 15:12:17 UTC 2015


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

oorestisime-guest pushed a commit to branch master
in repository python-django-localflavor.

commit f5f3ab854401b78e535ccd844faff265f5813230
Author: Orestis Ioannou <orestis at oioannou.com>
Date:   Sat Nov 28 03:37:49 2015 +0100

    d/rules override tests to run them correctly
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index a58be50..be91826 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,13 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=django-localflavor
+# export DH_VERBOSE = 1
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_test:
+	django-admin test --settings=tests.settings --pythonpath=. tests
+
 override_dh_auto_clean:
 	rm -rf docs/_build
 	dh_auto_clean

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



More information about the Python-modules-commits mailing list