Message180855
Ah, well... I agree mock.ANY sounds cool :-)
Perhaps it could be mentioned in the docs for assert_etc.? Otherwise you only learn about it if you are masochistic enough to read the doc till the end :-)
> you can pull the arguments out for individual assertions using
> some_mock.call_args.
Yeah, but it's cumbersome and it boils down to doing the matching by hand, while assert_called_something already does it. |
|
Date |
User |
Action |
Args |
2013-01-28 13:57:34 | pitrou | set | recipients:
+ pitrou, michael.foord |
2013-01-28 13:57:34 | pitrou | set | messageid: <1359381454.03.0.497658830515.issue17063@psf.upfronthosting.co.za> |
2013-01-28 13:57:34 | pitrou | link | issue17063 messages |
2013-01-28 13:57:33 | pitrou | create | |
|