From d4ed335273b53014c13dc5cc1e8e20c508bc25e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 25 Mar 2016 12:22:31 +0100 Subject: [PATCH] Overriding app.config in unittest. We may need something better structured in the future to handle test configuration, but at least this gets the one test we have running. --- tests/test_auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_auth.py b/tests/test_auth.py index 3eb92f88..26c14812 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -17,6 +17,8 @@ os.environ['EVE_SETTINGS'] = os.path.join( from application import app from application.utils import authentication as auth +app.config['BLENDER_ID_ENDPOINT'] = BLENDER_ID_ENDPOINT + def make_header(username, password=''): """Returns a Basic HTTP Authentication header value."""