File: unittests3

package info (click to toggle)
python-authlib 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: python: 26,998; makefile: 53; sh: 14
file content (19 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -efu

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

cp -a pyproject.toml tests "$AUTOPKGTEST_TMP"

cd "$AUTOPKGTEST_TMP"

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