chore: make flask-talisman work with test config (#29277)

This commit is contained in:
Maxime Beauchemin
2024-06-18 14:46:40 -07:00
committed by GitHub
parent 4537ab6b1a
commit 796726376a
5 changed files with 5 additions and 4 deletions

View File

@@ -61,7 +61,10 @@ function test_init() {
DB_NAME="test"
DB_USER="superset"
DB_PASSWORD="superset"
# Pointing to use the test database in local docker-compose setup
export SUPERSET__SQLALCHEMY_DATABASE_URI=${SUPERSET__SQLALCHEMY_DATABASE_URI:-postgresql+psycopg2://"${DB_USER}":"${DB_PASSWORD}"@localhost/"${DB_NAME}"}
export SUPERSET_CONFIG=${SUPERSET_CONFIG:-tests.integration_tests.superset_test_config}
RUN_INIT=1
RUN_RESET_DB=1