Message351991
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. |
|
| Date |
User |
Action |
Args |
| 2019-09-11 17:24:54 | lisroach | set | recipients:
+ lisroach, cjw296, ezio.melotti, michael.foord, xtreak |
| 2019-09-11 17:24:54 | lisroach | set | messageid: <1568222694.73.0.217906468671.issue38122@roundup.psfhosted.org> |
| 2019-09-11 17:24:54 | lisroach | link | issue38122 messages |
| 2019-09-11 17:24:54 | lisroach | create | |
|