[Product-Developers] turn off or invalidate view.memoize in tests

Héctor Velarde hector.velarde at gmail.com
Thu Jun 6 17:20:12 UTC 2013


hi there!

I'm writing a test for a method memoized with view.memoize but calling 
it many times inside my test is bringing the same results (as expected) 
because I have the same context/request.

is there any easy way to turn off or invalidate the cache inside the test?
-- 
Héctor Velarde


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3758 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20130606/5379cd57/attachment.p7s>


More information about the Product-Developers mailing list