mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
Merge pull request #1661 from alphagov/pytest-env
Automatically set environment vars before tests
This commit is contained in:
@@ -5,12 +5,8 @@
|
||||
# NOTE: This script expects to be run from the project root with
|
||||
# ./scripts/run_tests.sh
|
||||
|
||||
# Use default environment vars for localhost if not already set
|
||||
|
||||
set -o pipefail
|
||||
|
||||
source environment_test.sh
|
||||
|
||||
function display_result {
|
||||
RESULT=$1
|
||||
EXIT_STATUS=$2
|
||||
|
||||
Reference in New Issue
Block a user