some comments to clarify prepped
This commit is contained in:
@@ -71,6 +71,11 @@ def mocked_requests(*args, **kwargs):
|
|||||||
|
|
||||||
class MockSession:
|
class MockSession:
|
||||||
def send(self,prepped):
|
def send(self,prepped):
|
||||||
|
# prepped.url
|
||||||
|
# prepped.body (post data)
|
||||||
|
# prepped.headers
|
||||||
|
# prepped.method
|
||||||
|
|
||||||
json_data = {
|
json_data = {
|
||||||
'access_token': 'TA3n1vrNjuQJWw0TdCDHnjSmrjIPULhTlejMIWqq',
|
'access_token': 'TA3n1vrNjuQJWw0TdCDHnjSmrjIPULhTlejMIWqq',
|
||||||
'expires_in': 604800,
|
'expires_in': 604800,
|
||||||
|
|||||||
Reference in New Issue
Block a user