File: unittests

package info (click to toggle)
python-css-parser 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,236 kB
  • sloc: python: 20,518; sh: 11; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -efu

pkg="python-css-parser"
pys="$(py3versions --supported 2> /dev/null)"

mkdir -p "$AUTOPKGTEST_TMP"/"$pkg"
cp -a css_parser_tests "$AUTOPKGTEST_TMP"/"$pkg"
cd "$AUTOPKGTEST_TMP"/"$pkg"

export PYTHONPATH="$AUTOPKGTEST_TMP"/"$pkg"

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