Michael Foord added the comment:

There have been persistent calls for an "assert_called" method over the 
lifetime of mock. In the past I've rejected them because you can easily get it 
by asserting the call count is non-zero and I want to avoid the proliferation 
of a thousand assert methods. The demand is certainly consistent, so it would 
seem that people feel there is a use case.

----------

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

Reply via email to