Home
last modified time | relevance | path

Searched refs:HttpMock (Results 1 – 9 of 9) sorted by relevance

/external/python/google-api-python-client/tests/
Dtest_discovery.py70 from googleapiclient.http import HttpMock
381 self.http = HttpMock(datafile('malformed.json'), {'status': '200'})
397 http = HttpMock(datafile('plus.json'), {'status': '200'})
459 http = HttpMock()
547 self.http = HttpMock(datafile('plus.json'), {'status': '200'})
569 self.http = HttpMock(None, {'status': '200'})
599 self.http = HttpMock(datafile('plus.json'), {'status': '200'})
617 self.http = HttpMock(None, {'status': '200'})
631 self.http = HttpMock(datafile('plus.json'), {'status': '200'})
674 http = HttpMock(datafile('zoo.json'), {'status': '200'})
[all …]
Dtest_mocks.py34 from googleapiclient.http import HttpMock
45 self.http = HttpMock(datafile('plus.json'), {'status': '200'})
46 self.zoo_http = HttpMock(datafile('zoo.json'), {'status': '200'})
Dtest_http.py49 from googleapiclient.http import HttpMock
421 http = HttpMock(datafile('zoo.json'), {'status': '200'})
834 http = HttpMock(datafile('zoo.json'), headers={'status': '200'})
853 http = HttpMock(None, headers={'status': 200})
1518 http = HttpMock(datafile('zoo.json'))
1523 http = HttpMock(datafile('bad_request.json'), {'status': '400'})
/external/python/oauth2client/tests/
Dhttp_mock.py22 class HttpMock(object): class
Dtest_client.py44 from .http_mock import HttpMock
858 http = HttpMock(headers={'status': status})
1013 http = credentials.authorize(HttpMock())
1040 http = HttpMock()
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt174 googleapiclient.http.HttpMock googleapiclient.http.HttpMock-class.html
175 googleapiclient.http.HttpMock.request googleapiclient.http.HttpMock-class.html#request
176 googleapiclient.http.HttpMock.__init__ googleapiclient.http.HttpMock-class.html#__init__
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py66 from googleapiclient.http import HttpMock
338 if 'rootUrl' not in service and (isinstance(http, (HttpMock,
Dhttp.py1598 class HttpMock(object): class
/external/python/google-api-python-client/
DCHANGELOG215 - Warn when running tests using HttpMock without having a cache. (#261)