contentdb/utils/tests.sh

8 lines
238 B
Bash
Raw Permalink Normal View History

2023-12-16 00:49:54 +01:00
#!/bin/bash
2020-01-19 16:03:38 +01:00
set -e
. "${BASH_SOURCE%/*}/common.sh"
# To do a specific test file, change the path
docker exec "$(container app)" sh -c "FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py python -m pytest app/tests/ --disable-warnings"