Private
Public Access
1
0

added test for c2 auto import

This commit is contained in:
Sander Roosendaal
2021-01-19 06:00:55 +01:00
parent f42b20222c
commit add37be25b
3 changed files with 33 additions and 14 deletions

View File

@@ -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)