diff --git a/config/ci.ini b/config/ci.ini index 3796c0a7..64c8ac1f 100644 --- a/config/ci.ini +++ b/config/ci.ini @@ -1,2 +1,3 @@ [default] PGHOST = postgreshost +PGDATABASE = atat_test diff --git a/script/include b/script/include index 90a453b2..05492977 160000 --- a/script/include +++ b/script/include @@ -1 +1 @@ -Subproject commit 90a453b2ac4272961b3ed5f7d77d60816a09e092 +Subproject commit 05492977844309215c122e925159f9f8c62014e3 diff --git a/script/test b/script/test index ceb1c5c2..8759a347 100755 --- a/script/test +++ b/script/test @@ -6,6 +6,12 @@ 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"