Message180854
Oh, you want the assert_called_with call to *return* the objects compared with the placeholder?
Well, mock.ANY already exists and you can pull the arguments out for individual assertions using some_mock.call_args.
args, kwargs = some_mock.call_args |
|
Date |
User |
Action |
Args |
2013-01-28 13:21:14 | michael.foord | set | recipients:
+ michael.foord, pitrou |
2013-01-28 13:21:14 | michael.foord | set | messageid: <1359379274.48.0.366854241287.issue17063@psf.upfronthosting.co.za> |
2013-01-28 13:21:14 | michael.foord | link | issue17063 messages |
2013-01-28 13:21:14 | michael.foord | create | |
|