This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lisroach
Recipients cjw296, ezio.melotti, lisroach, michael.foord, xtreak
Date 2019-09-11.17:24:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568222694.73.0.217906468671.issue38122@roundup.psfhosted.org>
In-reply-to
Content
This idea has been brought up in person before and also discussed on AsyncTest: https://github.com/Martiusweb/asynctest/issues/100


It could be useful if someone has a lot of attributes that are also async that need to be mocked. 

It could probably be done with a flag that gets passed on to _get_child_mock and overrides the if statement to always return an AsyncMock.


Looking mostly for if people think this is a good idea/bad idea and help see around any corners that may be there.
History
Date User Action Args
2019-09-11 17:24:54lisroachsetrecipients: + lisroach, cjw296, ezio.melotti, michael.foord, xtreak
2019-09-11 17:24:54lisroachsetmessageid: <1568222694.73.0.217906468671.issue38122@roundup.psfhosted.org>
2019-09-11 17:24:54lisroachlinkissue38122 messages
2019-09-11 17:24:54lisroachcreate
Morty Proxy This is a proxified and sanitized view of the page, visit original site.