From ccec16d10e8112b033679787d17d32f4529c8e8a Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 10 Sep 2013 16:07:33 +0200 Subject: [PATCH] _getTypeBasedMethod now uses transactional variable cache, not erp5_content_long cache. --- product/ERP5/tests/testGeographicalAddress.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/product/ERP5/tests/testGeographicalAddress.py b/product/ERP5/tests/testGeographicalAddress.py index 719686cf58..372d05ee21 100644 --- a/product/ERP5/tests/testGeographicalAddress.py +++ b/product/ERP5/tests/testGeographicalAddress.py @@ -167,9 +167,6 @@ return '%s\\n%s %s COUNTRY' % \\ (context.getStreetAddress(), context.getZipCode(), context.getCity()) """) - # Flush the cache because _getTypeBasedMethod caches the result, - # so that script will not be used. - self.getPortal().portal_caches.clearCache(cache_factory_list=('erp5_content_long',)) def stepCheckAddressAsTextScript(self, sequence=None, sequence_list=None, **kw): -- 2.30.9