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.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/tests/web_auth.py b/python/tests/web_auth.py
index 029803c3..2c545b6b 100644
--- a/python/tests/web_auth.py
+++ b/python/tests/web_auth.py
@@ -54,3 +54,11 @@ def test_basic_auth_views(app):
rv = app.get('/auth/logout')
assert rv.status_code == 200
+
+def test_auth_token(app_admin):
+
+ rv = app_admin.get('/auth/account', follow_redirects=False)
+ assert rv.status_code == 200
+
+ rv = app_admin.post('/auth/create_token', follow_redirects=False)
+ assert rv.status_code == 200