Home
last modified time | relevance | path

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/
Dbatch_test.py71 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/
Dtest_connection.py59 with mpo(https, 'request') as mock_request:
65 call = mock_request.call_args_list[0]
/external/chromium-trace/catapult/dashboard/dashboard/
Dutils_test.py201 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/
Dtest_search.py358 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/
Dtest_search.py411 with mpo(requests, 'get', return_value=fake) as mock_request:
423 with mpo(requests, 'get', return_value=fake) as mock_request: