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 pitrou
Recipients michael.foord, pitrou
Date 2013-01-28.13:57:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359381454.03.0.497658830515.issue17063@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-01-28 13:57:34pitrousetrecipients: + pitrou, michael.foord
2013-01-28 13:57:34pitrousetmessageid: <1359381454.03.0.497658830515.issue17063@psf.upfronthosting.co.za>
2013-01-28 13:57:34pitroulinkissue17063 messages
2013-01-28 13:57:33pitroucreate