Configurable BASE_URL (#228)

Re #152 ability to over-ride env var BASE_URL, with UI+tests
This commit is contained in:
dgtlmoon
2021-10-05 18:15:36 +02:00
committed by GitHub
parent 2c71f577e0
commit 95e39aa727
10 changed files with 57 additions and 29 deletions

View File

@@ -9,11 +9,15 @@
# exit when any command fails
set -e
# Re #65 - Ability to include a link back to the installation, in the notification.
export BASE_URL="https://foobar.com"
find tests/test_*py -type f|while read test_name
do
echo "TEST RUNNING $test_name"
pytest $test_name
done
# Now re-run some tests with BASE_URL enabled
# Re #65 - Ability to include a link back to the installation, in the notification.
export BASE_URL="https://really-unique-domain.io"
pytest tests/test_notification.py