From 2e3e85e7f8f01c2eda9bac7606c51cfddfc6f81d Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Sun, 25 May 2008 07:28:28 +0000 Subject: [PATCH] Since r21027 newly created user account is not reindex immediately. Adjust that in test. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21107 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testERP5Web.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5/tests/testERP5Web.py b/product/ERP5/tests/testERP5Web.py index ce13bd0eae..9cb4b6b023 100644 --- a/product/ERP5/tests/testERP5Web.py +++ b/product/ERP5/tests/testERP5Web.py @@ -213,6 +213,9 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): website = portal.web_site_module[self.website_id] website.WebSite_createWebSiteAccount('WebSite_viewRegistrationDialog') + get_transaction().commit() + self.tic() + # find person object by reference person = website.ERP5Site_getAuthenticatedMemberPersonValue(kw['reference']) self.assertEquals(person.getReference(), kw['reference']) -- 2.30.9