From 194418abce80bf12610f1fc72490eaf55a91bf3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 16 Sep 2008 09:31:24 +0000 Subject: [PATCH] don't update cache manually, it should be done automatically git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23628 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testERP5Commerce.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/product/ERP5/tests/testERP5Commerce.py b/product/ERP5/tests/testERP5Commerce.py index 88d60713f8..a488ec6b61 100644 --- a/product/ERP5/tests/testERP5Commerce.py +++ b/product/ERP5/tests/testERP5Commerce.py @@ -98,11 +98,6 @@ class TestCommerce(ERP5TypeTestCase): request = self.app.REQUEST default_product = self.getDefaultProduct() - # XXX: update cache manually only once in first test - # in normal Zope it will be updated at startup - # This is needed as Commerce uses its own Cache Factory - portal.portal_caches.updateCache() - # set 'session_id' to simulate browser (cookie) environment request.set('session_id', SESSION_ID) -- 2.30.9