mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 04:33:13 -04:00
Remove environment_test.sh
These config variables are now set in `pytest.ini` instead.
This commit is contained in:
@@ -1,17 +0,0 @@
|
|||||||
export SQLALCHEMY_DATABASE_URI=${TEST_DATABASE:='postgresql://localhost/test_notification_api'}
|
|
||||||
export SECRET_KEY='secret-key'
|
|
||||||
export DANGEROUS_SALT='dangerous-salt'
|
|
||||||
export NOTIFY_ENVIRONMENT='test'
|
|
||||||
export ADMIN_CLIENT_SECRET='dev-notify-secret-key'
|
|
||||||
export ADMIN_BASE_URL='http://localhost:6012'
|
|
||||||
export FROM_NUMBER='from_number'
|
|
||||||
export MMG_URL="https://api.mmg.co.uk/json/api.php"
|
|
||||||
export MMG_API_KEY='mmg-secret-key'
|
|
||||||
export LOADTESTING_API_KEY="loadtesting"
|
|
||||||
export FIRETEXT_API_KEY="Firetext"
|
|
||||||
export STATSD_PREFIX="stats-prefix"
|
|
||||||
export NOTIFICATION_QUEUE_PREFIX='testing'
|
|
||||||
export REDIS_URL="redis://localhost:6379/0"
|
|
||||||
export FLASK_APP=application.py
|
|
||||||
export FLASK_DEBUG=1
|
|
||||||
export WERKZEUG_DEBUG_PIN=off
|
|
||||||
@@ -5,12 +5,8 @@
|
|||||||
# NOTE: This script expects to be run from the project root with
|
# NOTE: This script expects to be run from the project root with
|
||||||
# ./scripts/run_tests.sh
|
# ./scripts/run_tests.sh
|
||||||
|
|
||||||
# Use default environment vars for localhost if not already set
|
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
source environment_test.sh
|
|
||||||
|
|
||||||
function display_result {
|
function display_result {
|
||||||
RESULT=$1
|
RESULT=$1
|
||||||
EXIT_STATUS=$2
|
EXIT_STATUS=$2
|
||||||
|
|||||||
Reference in New Issue
Block a user