Message296697
Note that you can use an object as the parameter to the spec argument rather than just a list of attributes.
Hmmm... I'm not totally opposed to the addition of a "seal_mock" method (optionally with a recurse boolean for child mocks) being added to the Mock/MagicMock classes. It's quite a nice API. I don't like the idea of an additional Mock class for this. |
|
| Date |
User |
Action |
Args |
| 2017-06-23 10:50:21 | michael.foord | set | recipients:
+ michael.foord, vstinner, rbcollins, ericvw, berker.peksag, grzgrzgrz3, mariocj89 |
| 2017-06-23 10:50:21 | michael.foord | set | messageid: <[email protected]> |
| 2017-06-23 10:50:21 | michael.foord | link | issue30541 messages |
| 2017-06-23 10:50:20 | michael.foord | create | |
|