This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: assert_not_called method for mocks
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.5
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 2022-04-11 14:58 by admin. This issue is now closed.

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) (Python triager) 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.
Date User Action Args
2022-04-11 14:58:02adminsetgithub: 65461
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