Debian Codegraph @

debian/tests/pytest

raw
1 #!/bin/sh -e
2
3 export XDG_RUNTIME_DIR=$AUTOPKGTEST_TMP/runtime
4 export HOME=$AUTOPKGTEST_TMP/home
5 mkdir -p $XDG_RUNTIME_DIR $HOME
6 chmod 0700 $XDG_RUNTIME_DIR
7
8 for py in $(py3versions -s)
9 do
10 echo "Testing with $py"
11 $py -m pytest tests $PYTEST_OPTIONS
12 done