diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-04 19:21:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-04 19:21:10 -0700 |
commit | fc443013d4a004d69c53be3286e33dd30921879e (patch) | |
tree | 7ae87d9be5ec06d0612203f153302c496c3743d4 /python/tests/web_auth.py | |
parent | ab649adac04086817c69113fa075f1cb9bdc6d0f (diff) | |
download | fatcat-fc443013d4a004d69c53be3286e33dd30921879e.tar.gz fatcat-fc443013d4a004d69c53be3286e33dd30921879e.zip |
improve test coverage
Diffstat (limited to 'python/tests/web_auth.py')
-rw-r--r-- | python/tests/web_auth.py | 4 |
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", |