File: run-upstream-tests

package info (click to toggle)
python-django-tasks-rq 0.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 160 kB
  • sloc: python: 682; sh: 5; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

TEMP_DIR=$(mktemp -d)

# Copy tests somewhere else to ensure we are testing the installed version
cp -a ./tests ./manage.py $TEMP_DIR/

cd $TEMP_DIR
python3 -m manage test