File: unittests

package info (click to toggle)
beets 2.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,072 kB
  • sloc: python: 46,469; javascript: 8,018; xml: 334; sh: 245; makefile: 125
file content (17 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -efu

export HOME="$AUTOPKGTEST_TMP"
export LC_ALL=C.UTF-8
export PYTHONPATH=/usr/share/beets

cp -a test $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"
export RSRC=test/rsrc

# The tests assume beetsplug is found above them, and do unspeakable evil with
# __path__ to ensure that their local beetsplug is used.
ln -s /usr/share/beets/beetsplug .

# https://github.com/beetbox/beets/issues/1876
python3 -m pytest -k "not test_completion"