File: unittests

package info (click to toggle)
python-launchpadlib 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,012 kB
  • sloc: xml: 30,995; python: 2,692; makefile: 32; 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