Searched refs:call_list (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/unittest/test/testmock/ |
D | testmock.py | 1122 call.foo.bar().baz().call_list()) 1138 self.assertEqual(mock.mock_calls, call(1)(2)(3).call_list()) 1139 self.assertEqual(mock().mock_calls, call(2)(3).call_list()) 1140 self.assertEqual(mock()().mock_calls, call(3).call_list()) 1145 call(1)(2)(3).a.b.c(4).call_list()) 1147 call(2)(3).a.b.c(4).call_list()) 1149 call(3).a.b.c(4).call_list()) 1156 call.foo.bar().baz().__int__().call_list()) 1158 call.baz().__int__().call_list()) 1160 call().__int__().call_list()) [all …]
|
D | testhelpers.py | 295 self.assertEqual(mock.mock_calls, last_call.call_list()) 317 self.assertEqual(call(1).call_list(), mock.mock_calls) 321 self.assertEqual(call(1).method(2).call_list(), 326 self.assertEqual(call(1).method(2)(3).call_list(), 332 self.assertEqual(kall.call_list(), mock.mock_calls)
|
/third_party/python/Lib/xmlrpc/ |
D | server.py | 347 def system_multicall(self, call_list): argument 358 for call in call_list:
|
D | client.py | 836 def __init__(self, call_list, name): argument 837 self.__call_list = call_list
|
/third_party/python/Doc/library/ |
D | unittest.mock-examples.rst | 222 >>> expected = call.connection.cursor().execute("SELECT 1").call_list() 228 It is the call to ``.call_list()`` that turns our call object into a list of 568 several entries in ``mock_calls``. We can use :meth:`call.call_list` to create 572 >>> call_list = chained.call_list() 573 >>> assert mock_backend.mock_calls == call_list 1228 >>> calls = call.one().two().three().call_list()
|
D | unittest.mock.rst | 2242 .. method:: call.call_list() 2244 For a call object that represents multiple calls, :meth:`call_list` 2248 ``call_list`` is particularly useful for making assertions on "chained calls". A 2253 :meth:`~call.call_list` can construct the sequence of calls from the same 2260 >>> kall.call_list() 2265 >>> m.mock_calls == kall.call_list()
|
/third_party/python/Lib/unittest/ |
D | mock.py | 2601 def call_list(self): member in _Call
|