Searched refs:mock_request (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | batch_test.py | 71 def __ConfigureMock(self, mock_request, expected_request, response): argument 84 mock_request.side_effect = CheckRequest 100 autospec=True) as mock_request: 102 mock_request, 129 self.assertEqual(1, mock_request.call_count) 149 autospec=True) as mock_request: 151 mock_request, 175 self.assertEqual(1, mock_request.call_count) 197 autospec=True) as mock_request: 199 mock_request, [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sns/ |
D | test_connection.py | 59 with mpo(https, 'request') as mock_request: 65 call = mock_request.call_args_list[0]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | utils_test.py | 201 mock_request = mock.MagicMock() 202 mock_request.execute = mock.MagicMock(return_value={'is_member': True}) 205 return_value=mock_request)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch2/ |
D | test_search.py | 358 with mpo(self.conn.session, 'get', return_value=fake) as mock_request: 370 with mpo(self.conn.session, 'get', return_value=fake) as mock_request:
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudsearch/ |
D | test_search.py | 411 with mpo(requests, 'get', return_value=fake) as mock_request: 423 with mpo(requests, 'get', return_value=fake) as mock_request:
|