File: pytest

package info (click to toggle)
requests-ratelimiter 0.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 448 kB
  • sloc: python: 470; sh: 6; makefile: 3
file content (13 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

# Run the full test suite against installed package
# Copy test directory to a temporary location to avoid import conflicts
# (autopkgtest starts us in the source tree root)
cp -r test "$AUTOPKGTEST_TMP/"
cd "$AUTOPKGTEST_TMP"

# Run tests using the installed package (not the source tree)
for python in $(py3versions -s); do
    "$python" -m pytest -v test/
done