[Zope-dev] AcceleratedHTTPCache and virtual hosting (collector 1447)

Chris Withers chris at simplistix.co.uk
Mon Dec 5 04:28:47 EST 2005


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...

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list