contentdb/utils/tests.sh

8 lines
238 B
Bash
Executable File

#!/bin/bash
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"