File: unittests

package info (click to toggle)
python-launchpadlib 1.10.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,912 kB
  • sloc: xml: 33,229; python: 2,167; makefile: 25; sh: 9
file content (15 lines) | stat: -rwxr-xr-x 273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -efu

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

pythons3="$(py3versions -sv)"

cd "$AUTOPKGTEST_TMP"

for py in $pythons3; do
	echo "=== python$py ==="
	python$py /usr/bin/nosetests3 launchpadlib.tests 2>&1
done