PyDocs

Nav

Development Tools

AsyncMock.assert_not_awaited

  • AsyncMock.assert_not_awaited()
Assert that the mock was never awaited.
1 Example
>>> mock = AsyncMock()
>>> mock.assert_not_awaited()
from the Python docs
See Also
No see-alsos for unittest.mock/AsyncMock.assert_not_awaited
0 Notes
No notes for AsyncMock.assert_not_awaited