File: unittests3

package info (click to toggle)
python-authlib 0.15.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,408 kB
  • sloc: python: 18,626; makefile: 47; javascript: 37; sh: 10
file content (15 lines) | stat: -rwxr-xr-x 308 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -efu

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

cp -a setup.cfg tests "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

for py in $pys; do
	echo "=== $py ==="
	$py -m pytest tests/core 2>&1
	DJANGO_SETTINGS_MODULE=tests.django.settings $py -m pytest tests/django 2>&1
	$py -m pytest tests/flask 2>&1
done