Skip to content

Commit 232e25a

Browse files
dougiretonjoestump
authored andcommitted
Fix TestClient.test_access_token_post test
Look for oauth_token instead of oauth_token_key in content Fixes simplegeo/python-oauth2 Issue joestump#3
1 parent bde974c commit 232e25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_oauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ def test_access_token_post(self):
719719
self.assertEquals(int(resp['status']), 200)
720720

721721
res = dict(parse_qsl(content))
722-
self.assertTrue('oauth_token_key' in res)
722+
self.assertTrue('oauth_token' in res)
723723
self.assertTrue('oauth_token_secret' in res)
724724

725725
def _two_legged(self, method):

0 commit comments

Comments
 (0)