Home
last modified time | relevance | path

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

/third_party/grpc/test/core/end2end/tests/
Dsimple_request.cc242 int expected_calls = 1; in simple_request_body() local
244 expected_calls *= 2; in simple_request_body()
254 expected_calls); in simple_request_body()
257 expected_calls); in simple_request_body()
/third_party/python/Lib/test/
Dtest_dictcomps.py92 expected_calls = [
112 self.assertEqual(actual_calls, expected_calls)
Dtest_class.py141 def assertCallStack(self, expected_calls): argument
144 if expected_calls != actualCallList:
146 (expected_calls, actualCallList))
/third_party/python/Lib/unittest/test/testmock/
Dtestwith.py160 expected_calls = [call('foo'), call().__enter__(), call().read(),
162 self.assertEqual(mock.mock_calls, expected_calls)
173 expected_calls = [
178 self.assertEqual(mock.mock_calls, expected_calls)
/third_party/grpc/test/core/end2end/
Dinproc_callback_test.cc437 int expected_calls = 1; in simple_request_body() local
439 expected_calls *= 2; in simple_request_body()
/third_party/python/Doc/library/
Dunittest.mock-examples.rst1194 >>> expected_calls = [call.foo.something(), call.bar.other.thing()]
1195 >>> manager.mock_calls == expected_calls