Exemple #1
0
 def mock_http_request(url, *args, **kwargs):
   urls.append(url)
   return (httplib2.Response({'status': 404}), 'body')
Exemple #2
0
 def mock_http_request(*args, **kwargs):
   return (httplib2.Response({'status': status}), 'body')