Add autopkgtests for Python 2 and 3
This commit is contained in:
parent
20b3b96a52
commit
5d84bf658c
21
debian/tests/control
vendored
Normal file
21
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
Test-Command: set -e
|
||||
; cp test*.py "$AUTOPKGTEST_TMP"
|
||||
; for py in $(pyversions -r 2>/dev/null)
|
||||
; do cd "$AUTOPKGTEST_TMP"
|
||||
; echo "Testing with $py:"
|
||||
; $py -m pytest -v --assert=plain
|
||||
; done
|
||||
Depends: python-all,
|
||||
python-pytest,
|
||||
python-pytest-mock
|
||||
|
||||
Test-Command: set -e
|
||||
; cp test*.py "$AUTOPKGTEST_TMP"
|
||||
; for py in $(py3versions -r 2>/dev/null)
|
||||
; do cd "$AUTOPKGTEST_TMP"
|
||||
; echo "Testing with $py:"
|
||||
; $py -m pytest -v --assert=plain
|
||||
; done
|
||||
Depends: python3-all,
|
||||
python3-pytest,
|
||||
python3-pytest-mock
|
Loading…
Reference in a new issue