Message352828
Yeah I think the current `awaited` ought to at least be a private variable, since people will assume it works like a boolean to match `.called`. Then we could add a new, proper, `awaited` that would function like:
>>> mock = AsyncMock()
>>> cr_mock = mock()
>>> mock.called
True
>>> mock.awaited
False
>>> await cr_mock
>>> mock.awaited
True |
|
Date |
User |
Action |
Args |
2019-09-20 04:03:21 | lisroach | set | recipients:
+ lisroach, xtreak |
2019-09-20 04:03:21 | lisroach | set | messageid: <1568952201.67.0.449348428739.issue38161@roundup.psfhosted.org> |
2019-09-20 04:03:21 | lisroach | link | issue38161 messages |
2019-09-20 04:03:21 | lisroach | create | |
|