Debian Codegraph @

debian/tests/python

raw
1 #!/bin/sh -e
2
3 # when run locally the system HOME is not available
4 export HOME=${AUTOPKGTEST_TMP}
5
6 cp -r tests ${AUTOPKGTEST_TMP}
7
8 cd ${AUTOPKGTEST_TMP}
9
10 for py in $(py3versions -s 2>/dev/null); do
11 echo "Testing with $py: "
12 $py -m pytest -v tests
13 done