Commit a3cd5781 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove local variable 'portal_workflow' because is assigned to but never used

parent 2a446dcb
......@@ -153,7 +153,6 @@ class TestXHTML(ERP5TypeTestCase):
def enableDefaultSitePreference(self):
portal_preferences = getToolByName(self.portal, 'portal_preferences')
portal_workflow = getToolByName(self.portal, 'portal_workflow')
default_site_preference = portal_preferences.default_site_preference
if self.portal.portal_workflow.isTransitionPossible(default_site_preference, 'enable'):
default_site_preference.enable()
......
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