Re: Programmatically replacing an API for another module

2006-11-22 Thread Tom Plunket
Chris Lambacher wrote: > > > I'm just a bit loathe to download and install more stuff when > > > something simpler appears to be near-at-hand. ...especially > > > considering the page describing this module doesn't offer any download > > > links! http://python-mock.sourceforge.net/ > > Oh yeah,

Re: Programmatically replacing an API for another module

2006-11-22 Thread Chris Lambacher
> > I'm just a bit loathe to download and install more stuff when > > something simpler appears to be near-at-hand. ...especially > > considering the page describing this module doesn't offer any download > > links! http://python-mock.sourceforge.net/ > How about mini-mock: > http://blog.ianbicki

Re: Programmatically replacing an API for another module

2006-11-22 Thread Chris Lambacher
On Tue, Nov 21, 2006 at 05:00:32PM -0800, Tom Plunket wrote: > Bruno Desthuilliers wrote: > > > > I've got a bunch of code that runs under a bunch of unit tests. It'd > > > be really handy if when testing I could supply replacement > > > functionality to verify that the right things get called wi