[Python-modules-commits] [parsedatetime] 10/11: Fixup the DEP-8 tests

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jul 12 10:59:24 UTC 2017


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

ghisvail-guest pushed a commit to branch debian/experimental
in repository parsedatetime.

commit 051a519600a5d63f74764643d31fdb55cc8706b9
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 12 11:40:12 2017 +0100

    Fixup the DEP-8 tests
---
 debian/tests/control | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index ff18eec..3fc3d06 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,20 +1,20 @@
 Test-Command: set -e
- ; PYTEST_ROOTDIR="$(pwd)"
+ ; cp -r tests "$AUTOPKGTEST_TMP"
  ; for py in $(pyversions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
  ; echo "Testing with $py:"
- ; $py -m pytest -v "$PYTEST_ROOTDIR"
+ ; $py -m pytest -v tests/Test*.py
  ; done
 Depends: python-all,
          python-parsedatetime,
          python-pytest
 
 Test-Command: set -e
- ; PYTEST_ROOTDIR="$(pwd)"
+ ; cp -r tests "$AUTOPKGTEST_TMP"
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
  ; echo "Testing with $py:"
- ; $py -m pytest -v "$PYTEST_ROOTDIR"
+ ; $py -m pytest -v tests/Test*.py
  ; done
 Depends: python3-all,
          python3-parsedatetime,

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



More information about the Python-modules-commits mailing list