[Erp5-report] r21107 - /erp5/trunk/products/ERP5/tests/testERP5Web.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun May 25 09:28:28 CEST 2008
Author: ivan
Date: Sun May 25 09:28:28 2008
New Revision: 21107
URL: http://svn.erp5.org?rev=21107&view=rev
Log:
Since r21027 newly created user account is not reindex immediately.
Adjust that in test.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Web.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Web.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Web.py?rev=21107&r1=21106&r2=21107&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Web.py (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Web.py Sun May 25 09:28:28 2008
@@ -212,6 +212,9 @@
request.set('field_your_%s' %key, item)
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'])
More information about the Erp5-report
mailing list