[Erp5-report] r35040 nicolas - /erp5/trunk/products/ERP5OOo/tests/testDms.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 6 09:56:32 CEST 2010
Author: nicolas
Date: Thu May 6 09:56:27 2010
New Revision: 35040
URL: http://svn.erp5.org?rev=35040&view=rev
Log:
login as manager before editing preferences, then login back to regular user
Modified:
erp5/trunk/products/ERP5OOo/tests/testDms.py
Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=35040&r1=35039&r2=35040&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Thu May 6 09:56:27 2010
@@ -113,10 +113,12 @@
self.tic()
def afterSetUp(self):
+ TestDocumentMixin.login(self)
self.setDefaultSitePreference()
self.setSystemPreference()
transaction.commit()
self.tic()
+ self.login()
def setDefaultSitePreference(self):
default_pref = self.portal.portal_preferences.default_site_preference
More information about the Erp5-report
mailing list