contentdb/utils/tests.sh

8 lines
238 B
Bash
Raw Normal View History

2023-12-15 23:49:54 +00:00
#!/bin/bash
2020-01-19 15:03:38 +00: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"