File: unittests

package info (click to toggle)
python-uvicorn 0.17.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,436 kB
  • sloc: python: 6,924; sh: 92; makefile: 17; javascript: 4
file content (12 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
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 -s --verbose -k 'not test_run and not test_invalid_upgrade and not test_default_headers and not test_trace_logging and not test_websocket_auto' --ignore=tests/protocols/test_websocket.py 2>&1
done