Searched refs:await_args_list (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 214 self.assertEqual(spec.await_args_list, []) 223 self.assertEqual(spec.await_args_list, [call(1, 2, c=3)]) 246 self.assertEqual(mock_method.await_args_list, []) 254 self.assertEqual(mock_method.await_args_list, [call(1, 2, c=3)]) 263 self.assertEqual(mock_method.await_args_list, []) 510 self.assertEqual(async_mock.await_args_list, [call(1), call(2)])
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 249 mock.await_args_list = _CallList() 2124 await_args_list = _delegating_property('await_args_list') variable in AsyncMockMixin 2149 self.await_args_list.append(_call) 2234 actual = [self._call_matcher(c) for c in self.await_args_list] 2255 all_awaits = _CallList(self._call_matcher(c) for c in self.await_args_list) 2301 self.await_args_list = _CallList()
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock.rst | 1011 The :attr:`await_args_list` list is checked for the awaits. 1018 they must all appear in :attr:`await_args_list`. 1045 :attr:`await_args` to None, and clears the :attr:`await_args_list`. 1080 .. attribute:: await_args_list 1090 >>> mock.await_args_list 1093 >>> mock.await_args_list 1096 >>> mock.await_args_list
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.9.0a5.rst | 483 Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has call objects in
|