diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:21:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-29 04:21:11 +0000 |
commit | 3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3 (patch) | |
tree | 58db4e5b1587dfa44ff3f19fa188964f4512b078 /debian/tests | |
parent | Adding upstream version 0.6.0+dfsg1. (diff) | |
download | python-installer-3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3.tar.xz python-installer-3eda4e08d7de7923b6f4faf3cabd4eaeaebdf0d3.zip |
Adding debian version 0.6.0+dfsg1-1.debian/0.6.0+dfsg1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests')
-rw-r--r-- | debian/tests/control | 6 | ||||
-rwxr-xr-x | debian/tests/unittests | 13 |
2 files changed, 19 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..bde3414 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,6 @@ +Tests: unittests +Depends: + python3-all, + python3-installer, + python3-mock, + python3-pytest diff --git a/debian/tests/unittests b/debian/tests/unittests new file mode 100755 index 0000000..d2fecdc --- /dev/null +++ b/debian/tests/unittests @@ -0,0 +1,13 @@ +#!/bin/sh +set -efu + +pys="$(py3versions -s 2> /dev/null)" + +cp -a tests "$AUTOPKGTEST_TMP" + +cd "$AUTOPKGTEST_TMP" + +for py in $pys; do + echo "=== $py ===" + $py -m pytest tests +done |