add a few first tests for /movies web route

This commit is contained in:
ducklet 2021-12-07 23:54:06 +01:00
parent bd3e35936a
commit a468c8ad60
4 changed files with 71 additions and 2 deletions

View file

@ -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 "$@"