Home
last modified time | relevance | path

Searched refs:assert_has_awaits (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/unittest/test/testmock/
Dtestasync.py509 async_mock.assert_has_awaits([call(1), call(2)])
829 self.mock.assert_has_awaits(kalls)
967 self.mock.assert_has_awaits(calls)
972 self.mock.assert_has_awaits(calls)
976 self.mock.assert_has_awaits(calls)
979 self.mock.assert_has_awaits(calls)
982 self.mock.assert_has_awaits(calls)
990 self.mock.assert_has_awaits([call(ANY, 1)])
1004 mock_with_spec.assert_has_awaits([call(ANY, 1)])
1011 self.mock.assert_has_awaits(calls, any_order=True)
[all …]
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1008 .. method:: assert_has_awaits(calls, any_order=False)
1025 >>> mock.assert_has_awaits(calls)
1033 >>> mock.assert_has_awaits(calls)
/external/python/cpython3/Lib/unittest/
Dmock.py2241 def assert_has_awaits(self, calls, any_order=False): member in AsyncMockMixin
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst343 Improve error handling for the assert_has_calls and assert_has_awaits