Debian Codegraph @

debian/tests/upstreamtests

raw
1 #!/bin/sh
2 set -e
3 # TODO this probably tests the source tree not the as-installed package
4
5 # have test data available
6 cp -r openpyxl ${AUTOPKGTEST_TMP}
7 cp conftest.py ${AUTOPKGTEST_TMP}
8 cp -n debian/conditional-formatting.xlsx ${AUTOPKGTEST_TMP}/openpyxl/formatting/tests/data
9 cp -n debian/complex-styles.xlsx ${AUTOPKGTEST_TMP}/openpyxl/reader/tests/data
10 cd ${AUTOPKGTEST_TMP}
11
12 for PY3VER in `py3versions -vs` ; do
13 LC_ALL=C.UTF-8 python${PY3VER} /usr/bin/py.test-3 .
14 done