[TIP] Minor update to mock

Michael Foord fuzzyman at voidspace.org.uk
Wed Nov 21 16:58:27 PST 2007


Hello all,

I've made some additions to the mock module I posted. It now provides 
some helpers for doing class and module level monkey patching, plus some 
other minor improvements. The distribution now includes its own unit 
tests which are useful examples. Smile

I will maintain this module, but I don't intend to grow it a great deal. 
The point is that it isn't a mocking framework, but makes it easy to 
implement what are (in my experience) common testing patterns.

http://www.voidspace.org.uk/python/mock.html

Michael



More information about the testing-in-python mailing list