File: unittests

package info (click to toggle)
python-launchpadlib 1.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,996 kB
  • sloc: xml: 30,995; python: 2,749; makefile: 27; sh: 10
file content (16 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -efu

# Launchpadlib tries to keep a cache in HOME
HOME="$AUTOPKGTEST_TMP/home"
mkdir "$HOME"

pythons3="$(py3versions -s)"

cd "$AUTOPKGTEST_TMP"

for py in $pythons3; do
	echo "=== $py ==="
	$py -m pytest /usr/lib/python3/dist-packages/launchpadlib/tests \
	              /usr/lib/python3/dist-packages/launchpadlib/testing
done