debian/tests/unittests
raw| 1 | #!/bin/sh |
| 2 | set -efu |
| 3 | |
| 4 | # Launchpadlib tries to keep a cache in HOME |
| 5 | HOME="$AUTOPKGTEST_TMP/home" |
| 6 | mkdir "$HOME" |
| 7 | |
| 8 | pythons3="$(py3versions -s)" |
| 9 | |
| 10 | cd "$AUTOPKGTEST_TMP" |
| 11 | |
| 12 | for py in $pythons3; do |
| 13 | echo "=== $py ===" |
| 14 | $py -m pytest /usr/lib/python3/dist-packages/launchpadlib/tests \ |
| 15 | /usr/lib/python3/dist-packages/launchpadlib/testing |
| 16 | done |