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:
@@ -17,6 +17,8 @@ os.environ['EVE_SETTINGS'] = os.path.join(
|
|||||||
from application import app
|
from application import app
|
||||||
from application.utils import authentication as auth
|
from application.utils import authentication as auth
|
||||||
|
|
||||||
|
app.config['BLENDER_ID_ENDPOINT'] = BLENDER_ID_ENDPOINT
|
||||||
|
|
||||||
|
|
||||||
def make_header(username, password=''):
|
def make_header(username, password=''):
|
||||||
"""Returns a Basic HTTP Authentication header value."""
|
"""Returns a Basic HTTP Authentication header value."""
|
||||||
|
Reference in New Issue
Block a user