From 31c9761d08c36f1fccf1b0e31063f713a51dd169 Mon Sep 17 00:00:00 2001
From: Vincent Desmares <vincentd@nexedi.com>
Date: Wed, 15 Apr 2009 13:14:14 +0000
Subject: [PATCH] Clear the cache to be sure that the cart is empty

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26436 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5Commerce.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5/tests/testERP5Commerce.py b/product/ERP5/tests/testERP5Commerce.py
index d409c00b7b..ff3cc3f140 100644
--- a/product/ERP5/tests/testERP5Commerce.py
+++ b/product/ERP5/tests/testERP5Commerce.py
@@ -76,6 +76,7 @@ class TestCommerce(ERP5TypeTestCase):
     self.clearModule(self.portal.product_module)
     self.clearModule(self.portal.sale_order_module)
     self.clearModule(self.portal.currency_module)
+    self.portal.portal_caches.clearAllCache()
 
   def login(self, quiet=0, run=run_all_test):
     uf = self.getPortal().acl_users
-- 
2.30.9