[Python-modules-commits] [django-oauth-toolkit] 09/11: Adapt test settings to new upstream path.

Michael Fladischer fladi at moszumanska.debian.org
Thu Nov 2 16:08:20 UTC 2017


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

fladi pushed a commit to branch debian/master
in repository django-oauth-toolkit.

commit b98eb4e3ecb8f060e27f8ecdd373edf14235841a
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Thu Nov 2 16:57:53 2017 +0100

    Adapt test settings to new upstream path.
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e100759..872c4bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ django-oauth-toolkit (1.0.0-1) UNRELEASED; urgency=low
   * Add python(3)-requests to Build-Depends as they are used during
     tests.
   * Add patches to fix tests for latest Django.
+  * Adapt test settings to new upstream path.
 
  -- Michael Fladischer <fladi at debian.org>  Tue, 20 Jun 2017 09:48:07 +0200
 
diff --git a/debian/rules b/debian/rules
index 81e8270..ef2041f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,4 +20,4 @@ override_dh_installchangelogs:
 	dh_installchangelogs -- docs/changelog.rst
 
 override_dh_auto_test:
-	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} runtests.py" dh_auto_test
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest"

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



More information about the Python-modules-commits mailing list