added test for c2 auto import
This commit is contained in:
@@ -699,7 +699,8 @@ def mocked_requests(*args, **kwargs):
|
||||
pass
|
||||
|
||||
def post(self, *args, **kwargs):
|
||||
return MockResponse('',200)
|
||||
json_data = {'id':1}
|
||||
return MockResponse(json_data,200)
|
||||
|
||||
def send(self,prepped):
|
||||
# prepped.url
|
||||
@@ -710,7 +711,7 @@ def mocked_requests(*args, **kwargs):
|
||||
json_data = {
|
||||
'access_token': 'TA3n1vrNjuQJWw0TdCDHnjSmrjIPULhTlejMIWqq',
|
||||
'expires_in': 604800,
|
||||
'refresh_token': 'jHJhFzCfOOKB8oyiayubhLAlxaMkG3ruC1E8YxaR'
|
||||
'refresh_token': 'jHJhFzCfOOKB8oyiayubhLAlxaMkG3ruC1E8YxaR',
|
||||
}
|
||||
|
||||
return MockResponse(json_data,200)
|
||||
|
||||
Reference in New Issue
Block a user