File: unittests

package info (click to toggle)
python-protego 0.1.16%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 30,204 kB
  • sloc: python: 1,426; perl: 190; cpp: 33; sh: 12; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
set -efu

pys="$(py3versions -r 2> /dev/null)"

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $pys; do
	echo "=== $py ==="
	$py -m pytest tests 2>&1
done