New submission from Lisa Roach <lisaroac...@gmail.com>:

Currently Mock has a `.called` attribute, we could add an equivalent `.awaited` 
that returns True or False if the object has been awaited on.

----------
messages: 352345
nosy: lisroach
priority: normal
severity: normal
status: open
title: AsyncMock add `.awaited` like `.called`

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38161>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to