Debian Codegraph @

debian/tests/unittests

raw
1 #!/bin/sh
2 set -efu
3
4 echo "ERROR: Adapt this autopkgtests script to the package and remove this line" ; exit 1
5
6 # testing needs https://github.com/stripe/stripe-mock
7 # not yet packaged in Debian
8
9 pys="$(py3versions -s 2> /dev/null)"
10
11 cp -a tests "$AUTOPKGTEST_TMP"
12 cd "$AUTOPKGTEST_TMP"
13
14 for py in $pys; do
15 echo "=== $py ==="
16 $py -m pytest tests 2>&1
17 done