Home
last modified time | relevance | path

Searched refs:await_args (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/unittest/test/testmock/
Dtestasync.py213 self.assertIsNone(spec.await_args)
222 self.assertEqual(spec.await_args, call(1, 2, c=3))
247 self.assertIsNone(mock_method.await_args)
253 self.assertEqual(mock_method.await_args, call(1, 2, c=3))
262 self.assertIsNone(mock_method.await_args)
/external/python/cpython3/Lib/unittest/
Dmock.py248 mock.await_args = None
2123 await_args = _delegating_property('await_args') variable in AsyncMockMixin
2148 self.await_args = _call
2203 if self.await_args is None:
2212 actual = self._call_matcher(self.await_args)
2300 self.await_args = None
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1045 :attr:`await_args` to None, and clears the :attr:`await_args_list`.
1062 .. attribute:: await_args
1071 >>> mock.await_args
1073 >>> mock.await_args
1076 >>> mock.await_args