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.
This commit is contained in:
2016-03-25 12:22:31 +01:00
parent ebcb6bc5f8
commit d4ed335273

View File

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