Debian Codegraph @

debian/tests/upstream

raw
1 #!/bin/sh
2
3 set -efu
4
5 cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
6 cp -rv libcloud/test "${AUTOPKGTEST_TMP}"
7 ln -s "${AUTOPKGTEST_TMP}/test/" /usr/lib/python3/dist-packages/libcloud/test
8 cd "${AUTOPKGTEST_TMP}"
9 touch test/secrets.py
10
11 for py in $(py3versions -s); do
12 echo "[*] testing $py:"
13 NO_INTERNET= $py -m pytest '-k not TestCaseMixin'
14 done