Fix for failing tests

This commit is contained in:
mike cullerton 2022-01-21 15:13:05 -05:00
parent 65345a8e91
commit 7da2fa2171
1 changed files with 2 additions and 1 deletions

View File

@ -172,7 +172,8 @@ def login(
if _is_production():
uid = _get_request_uid(request)
else:
uid = app.config['DEFAULT_UID']
if not app.config['TESTING']:
uid = app.config['DEFAULT_UID']
if uid:
app.logger.info("SSO_LOGIN: Full URL: " + request.url)