Skip to content

Commit 5d014ab

Browse files
committed
Merge branch 'http_session_injected' into dev
2 parents 9b9018d + bb60aa9 commit 5d014ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2cli/oauth2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def _obtain_token( # The verb "obtain" is influenced by OAUTH2 RFC 6749
173173
headers=None, # a dict to be sent as request headers
174174
post=None, # A callable to replace requests.post(), for testing.
175175
# Such as: lambda url, **kwargs:
176-
# Mock(status_code=200, json=Mock(return_value={}))
176+
# Mock(status_code=200, text='{}')
177177
**kwargs # Relay all extra parameters to underlying requests
178178
): # Returns the json object came from the OAUTH2 response
179179
_data = {'client_id': self.client_id, 'grant_type': grant_type}

0 commit comments

Comments
 (0)