Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin1024 authored Jan 27, 2017
1 parent 9b6877b commit 9a69a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def test_callback(import_by_path, app_setting, OAuth2Session, request_factory):

resp = callback(request)
assert resp.status_code == 302
assert resp['location'] == 'http://testserver/app-setting'
assert resp['location'] == 'http://testserver/callback/app-setting'
assert request.session.get('oauth_token') == 'token'
assert request.session.get('user') == 'test-user'

Expand Down

0 comments on commit 9a69a97

Please sign in to comment.