summaryrefslogtreecommitdiffstats
path: root/python/tests/web_auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/web_auth.py')
-rw-r--r--python/tests/web_auth.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tests/web_auth.py b/python/tests/web_auth.py
index 81986eec..2fa9363b 100644
--- a/python/tests/web_auth.py
+++ b/python/tests/web_auth.py
@@ -26,6 +26,10 @@ def test_ia_xauth(full_app):
# successful login
with full_app.test_client() as app:
+
+ rv = app.get('/auth/token_login')
+ assert rv.status_code == 200
+
responses.add(responses.POST, full_app.config['IA_XAUTH_URI'] + "?op=authenticate",
status=200, json={'success': True})
responses.add(responses.POST, full_app.config['IA_XAUTH_URI'] + "?op=info",