classification
Title: assert_not_called method for mocks
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: kushal.das Nosy List: kushal.das, michael.foord, python-dev
Priority: normal Keywords: patch

Created on 2014-04-16 18:30 by michael.foord, last changed 2014-04-16 20:06 by python-dev. This issue is now closed.

Files
File name Uploaded Description Edit
issue21262.patch kushal.das, 2014-04-16 19:03 Patch with required changes. review
Messages (3)
msg216546 - (view) Author: Michael Foord (michael.foord) * (Python committer) Date: 2014-04-16 18:30
A shortcut for asserting that the call_count of a mock is 0.
msg216557 - (view) Author: Kushal Das (kushal.das) * (Python committer) Date: 2014-04-16 19:03
Patch with required changes. Code, docs, test and Misc/NEWS entry.
msg216576 - (view) Author: Roundup Robot (python-dev) Date: 2014-04-16 20:06
New changeset 9e5cbc46e916 by Kushal Das in branch 'default':
Closes Issue 21262: New method assert_not_called for Mock.
http://hg.python.org/cpython/rev/9e5cbc46e916
History
Date User Action Args
2014-04-16 20:06:22python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg216576

resolution: fixed
stage: needs patch -> resolved
2014-04-16 19:03:57kushal.dassetfiles: + issue21262.patch
keywords: + patch
messages: + msg216557
2014-04-16 18:30:26michael.foordsetcomponents: + Library (Lib)
versions: + Python 3.5
2014-04-16 18:30:13michael.foordcreate