add a few first tests for /movies web route
This commit is contained in:
parent
bd3e35936a
commit
a468c8ad60
4 changed files with 71 additions and 2 deletions
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
cd "$RUN_DIR"
|
||||
|
||||
dbfile="$RUN_DIR/tests.sqlite.local"
|
||||
|
||||
trap 'rm "$dbfile"' EXIT TERM INT QUIT
|
||||
|
||||
[ -z "${DEBUG:-}" ] || set -x
|
||||
|
||||
exec python -m pytest "$@"
|
||||
UNWIND_STORAGE="$dbfile" \
|
||||
python -m pytest "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue