Merge pull request #1661 from alphagov/pytest-env

Automatically set environment vars before tests
This commit is contained in:
Chris Hill-Scott
2018-02-15 09:34:49 +00:00
committed by GitHub
5 changed files with 22 additions and 22 deletions

View File

@@ -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