Commit 0263797c authored by Jérome Perrin's avatar Jérome Perrin

fix NameError

Strangely, this name error in setUp hangs runUnitTest ...


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16383 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6416800b
......@@ -170,7 +170,7 @@ class AccountingTestCase(ERP5TypeTestCase):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment