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.

Author michael.foord
Recipients docs@python, methane, michael.foord
Date 2014-02-02.19:39:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391369971.58.0.219937411535.issue20487@psf.upfronthosting.co.za>
In-reply-to
Content
A "side effect" is a mechanism Mock provides for mocks to have special behaviour when called. 

http://docs.python.org/3.3/library/unittest.mock.html#unittest.mock.Mock.side_effect

The term is used very widely throughout the mock documentation, so I don't think it's appropriate to link *every* usage to the side_effect documentation.
History
Date User Action Args
2014-02-02 19:39:31michael.foordsetrecipients: + michael.foord, methane, docs@python
2014-02-02 19:39:31michael.foordsetmessageid: <1391369971.58.0.219937411535.issue20487@psf.upfronthosting.co.za>
2014-02-02 19:39:31michael.foordlinkissue20487 messages
2014-02-02 19:39:31michael.foordcreate