Searched refs:HttpMock (Results 1 – 9 of 9) sorted by relevance
/external/python/google-api-python-client/tests/ |
D | test_discovery.py | 70 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 …]
|
D | test_mocks.py | 34 from googleapiclient.http import HttpMock 45 self.http = HttpMock(datafile('plus.json'), {'status': '200'}) 46 self.zoo_http = HttpMock(datafile('zoo.json'), {'status': '200'})
|
D | test_http.py | 49 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/ |
D | http_mock.py | 22 class HttpMock(object): class
|
D | test_client.py | 44 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/ |
D | api-objects.txt | 174 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/ |
D | discovery.py | 66 from googleapiclient.http import HttpMock 338 if 'rootUrl' not in service and (isinstance(http, (HttpMock,
|
D | http.py | 1598 class HttpMock(object): class
|
/external/python/google-api-python-client/ |
D | CHANGELOG | 215 - Warn when running tests using HttpMock without having a cache. (#261)
|