File: python3-tests

package info (click to toggle)
django-ninja 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,280 kB
  • sloc: python: 16,041; javascript: 1,689; makefile: 40; sh: 25
file content (10 lines) | stat: -rwxr-xr-x 200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -e

cp -a "tests" "${AUTOPKGTEST_TMP}"
cp -a "docs" "${AUTOPKGTEST_TMP}/"

cd "${AUTOPKGTEST_TMP}"

for python in $(py3versions -s); do \
    PYTHONPATH="." $python -m pytest tests;\
done