]> granicus.if.org Git - python/commit
Closes Issue 21262: New method assert_not_called for Mock.
authorKushal Das <kushaldas@gmail.com>
Wed, 16 Apr 2014 20:06:14 +0000 (01:36 +0530)
committerKushal Das <kushaldas@gmail.com>
Wed, 16 Apr 2014 20:06:14 +0000 (01:36 +0530)
commit8af9db3e4fa17fb7add3f904a19d816f7787ee1c
tree18ffd4eb5f027edb0648bd32088bb455ef2a3c59
parent8c14534df6c7bd561fac31985fba60306e181265
Closes Issue 21262: New method assert_not_called for Mock.

It raises AssertionError if the mock has been called.
Doc/library/unittest.mock.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS