From 23fcad183114d20fd6ff7b99864f5e2fd59b97d0 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Thu, 1 Jul 2010 11:52:35 +0000
Subject: [PATCH] here is required to commit transaction and wait for
 activities before to setup the instance

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

diff --git a/product/ERP5/tests/testERP5eGov.py b/product/ERP5/tests/testERP5eGov.py
index 07f30cb4f2..3b75506dda 100644
--- a/product/ERP5/tests/testERP5eGov.py
+++ b/product/ERP5/tests/testERP5eGov.py
@@ -139,6 +139,8 @@ class TestEgov(ERP5TypeTestCase):
       if pref.getPreferenceState() == 'disabled':
         pref.enable()
 
+    transaction.commit()
+    self.tic()
     #set up the instance
     self.portal.EGov_setUpInstance()
 
-- 
2.30.9