Dieter Maurer wrote:
We could use monkey patching for this -- used only for testing purposes.

Yup, I've had extensive success with this too, for example, to get consistent dates during date-based tests.

I'm also -1 on havign functionality in production code that's there purely to support unit tests...


Simplistix - Content Management, Zope & Python Consulting

Zope-Dev maillist  -
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to