[Erp5-report] r16383 - /erp5/trunk/products/ERP5/tests/testAccounting.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Sep 15 13:25:36 CEST 2007
Author: jerome
Date: Sat Sep 15 13:25:36 2007
New Revision: 16383
URL: http://svn.erp5.org?rev=16383&view=rev
Log:
fix NameError
Strangely, this name error in setUp hangs runUnitTest ...
Modified:
erp5/trunk/products/ERP5/tests/testAccounting.py
Modified: erp5/trunk/products/ERP5/tests/testAccounting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting.py?rev=16383&r1=16382&r2=16383&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting.py Sat Sep 15 13:25:36 2007
@@ -170,7 +170,7 @@
doc.validate()
# and the preference enabled
- preference = self.portal.portal_preferences.accounting_zuite_preference
+ pref = self.portal.portal_preferences.accounting_zuite_preference
pref.manage_addLocalRoles(self.username, ('Auditor', ))
# Make sure _aq_dynamic is called before calling the workflow method
# otherwise .enable might not been wrapped yet. This happen in --load
More information about the Erp5-report
mailing list