debian/tests/unittests
raw| 1 | #!/bin/sh |
| 2 | set -efu |
| 3 | |
| 4 | export HOME="$AUTOPKGTEST_TMP" |
| 5 | export LC_ALL=C.UTF-8 |
| 6 | export PYTHONPATH=/usr/share/beets |
| 7 | |
| 8 | cp -a test $AUTOPKGTEST_TMP |
| 9 | cd "$AUTOPKGTEST_TMP" |
| 10 | export RSRC=$AUTOPKGTEST_TMP/test/rsrc |
| 11 | |
| 12 | # The tests assume beetsplug is found above them, and do unspeakable evil with |
| 13 | # __path__ to ensure that their local beetsplug is used. |
| 14 | ln -s /usr/share/beets/beetsplug . |
| 15 | |
| 16 | # https://github.com/beetbox/beets/issues/1876 |
| 17 | python3 -m pytest -k "not test_completion" |