File: run-testsuite3

package info (click to toggle)
python-playsound3 2.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 184 kB
  • sloc: python: 211; sh: 10; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

pkg=python3-playsound3

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cd $AUTOPKGTEST_TMP

mkdir test playsound3
cp -a /usr/share/${pkg}/tests/* ./test/
cp -a /usr/lib/python3/dist-packages/playsound3/* ./playsound3/

python3 -m pytest --verbose -k "not requires_network" test