[TIP] Minor update to mock
fuzzyman at voidspace.org.uk
Wed Nov 21 16:58:27 PST 2007
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.
More information about the testing-in-python