[issue26323] Add assert_called() and assert_called_once() methods for mock objects

STINNER Victor report at bugs.python.org
Thu Feb 18 08:00:28 EST 2016


STINNER Victor added the comment:

Can you please also document your changes in Doc/library/unittest.mock.rst? You will have to use ".. versionadded:: 3.6" in the doc of new functions.

You may also document directly the news functions in Doc/whatsnew/3.6.rst. It looks like you have to add a new "unittest" section in "Improved Modules".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26323>
_______________________________________


More information about the Python-bugs-list mailing list