Michael Foord added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to