EasyMock for python ?

Simon Brunning simon at brunningonline.net
Fri Oct 12 05:29:52 EDT 2007


On 10/12/07, Ben Finney <bignose+hates-spam at benfinney.id.au> wrote:
> BlueBird <phil at freehackers.org> writes:
> This means that the Mock object automatically supports any number of
> attributes and methods by any reasonable names; the only setup needed
> beyond creating the instance is to seed it with anything you *don't*
> want returned as a Mock.

Now *that* is what the OP was talking about - that's not a Mock,
that's a Stub. See <http://tinyurl.com/26hfjd>.
.

-- 
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues



More information about the Python-list mailing list