atst/script/test
2018-08-03 09:50:24 -04:00

23 lines
465 B
Bash
Executable File

#!/bin/bash
# script/test: Run static code checks and unit tests
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
export FLASK_ENV=test
# Set database name
DATABASE_NAME="atat_test"
# Enable database resetting
RESET_DB="true"
# Define all relevant python files and directories for this app
PYTHON_FILES="./app.py ./atst ./config"
# Enable Python testing
RUN_PYTHON_TESTS="true"
# Run the shared test script
source ./script/include/run_test