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 purcell
Recipients benjamin.peterson, brett.cannon, purcell, rhettinger, vdupras
Date 2008-02-21.22:50:24
SpamBayes Score 0.05210415
Marked as misclassified No
Message-id <1203634225.49.0.669148223392.issue2156@psf.upfronthosting.co.za>
In-reply-to
Content
I agree with Raymond: -1 from me.  There isn't a consensus on what "mock 
object" means*, and trying to provide a standardised mock object 
facility is a quagmire*, hence the prior rejections to which Raymond 
refers.

It's easy to roll your own simple mock objects as needed, e.g. for 
whichever Python regression tests might need them.


* Note, for instance, that mock object libraries variously provide 
support for record/playback of calls, partial replacement of methods in 
existing classes or instances, and subtle distinctions between "stubs" 
and "mocks".  I'm aware of at least three wildly different yet equally 
popular mock object libraries in the Java world, each with its own 
uniquely opinionated user base.
History
Date User Action Args
2008-02-21 22:50:25purcellsetspambayes_score: 0.0521041 -> 0.05210415
recipients: + purcell, brett.cannon, rhettinger, benjamin.peterson, vdupras
2008-02-21 22:50:25purcellsetspambayes_score: 0.0521041 -> 0.0521041
messageid: <1203634225.49.0.669148223392.issue2156@psf.upfronthosting.co.za>
2008-02-21 22:50:24purcelllinkissue2156 messages
2008-02-21 22:50:24purcellcreate