Home
last modified time | relevance | path

Searched refs:expected_calls (Results 1 – 14 of 14) sorted by relevance

/external/autotest/client/common_lib/cros/
Dgs_cache_client_unittest.py125 expected_calls = [
132 self.assertListEqual(self.api.extract.call_args_list, expected_calls)
143 expected_calls = [
150 self.assertListEqual(self.api.extract.call_args_list, expected_calls)
/external/grpc-grpc/test/core/end2end/tests/
Dsimple_request.cc234 int expected_calls = 1; in simple_request_body() local
236 expected_calls *= 2; in simple_request_body()
241 expected_calls); in simple_request_body()
244 expected_calls); in simple_request_body()
/external/python/mock/mock/tests/
Dtestwith.py154 expected_calls = [call('foo'), call().__enter__(), call().read(),
156 self.assertEqual(mock.mock_calls, expected_calls)
167 expected_calls = [
172 self.assertEqual(mock.mock_calls, expected_calls)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestwith.py163 expected_calls = [call('foo'), call().__enter__(), call().read(),
165 self.assertEqual(mock.mock_calls, expected_calls)
176 expected_calls = [
181 self.assertEqual(mock.mock_calls, expected_calls)
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls.py21 def __init__(self, test_case, expected_calls, watched): argument
48 self._expected_calls = [call_action(pair) for pair in expected_calls]
/external/python/cpython3/Lib/test/
Dtest_class.py141 def assertCallStack(self, expected_calls): argument
144 if expected_calls != actualCallList:
146 (expected_calls, actualCallList))
/external/python/cpython2/Lib/test/
Dtest_class.py136 def assertCallStack(self, expected_calls): argument
139 if expected_calls != actualCallList:
141 (expected_calls, actualCallList))
/external/python/apitools/apitools/base/py/testing/
Dmock.py117 def __init__(self, expected_calls): argument
119 for (key, request) in expected_calls:
/external/tensorflow/tensorflow/core/platform/cloud/
Dretrying_file_system_test.cc28 ExpectedCalls expected_calls; in CreateRetriableErrors() local
29 expected_calls.reserve(n); in CreateRetriableErrors()
31 expected_calls.emplace_back(std::make_tuple( in CreateRetriableErrors()
34 return expected_calls; in CreateRetriableErrors()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data_test.py287 expected_calls = [
304 fake.assert_has_calls(expected_calls, any_order=True)
/external/grpc-grpc/test/core/end2end/
Dinproc_callback_test.cc432 int expected_calls = 1; in simple_request_body() local
434 expected_calls *= 2; in simple_request_body()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dassociated_interface_unittest.cc302 size_t expected_calls, in SetUp() argument
313 expected_calls_ = expected_calls; in SetUp()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config_unittest.py1511 expected_calls = [
1529 dep_info_mock.assert_call_args(expected_calls)
/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst1138 >>> expected_calls = [call.foo.something(), call.bar.other.thing()]
1139 >>> manager.mock_calls == expected_calls