Commit 1f4c1823 authored by Sebastien Robin's avatar Sebastien Robin

if the sql worklist bt is not installed, the test should still work

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19522 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5199bdda
......@@ -1150,7 +1150,12 @@ class TestERP5BankingMixin:
"""
portal = self.getPortalObject()
portal.portal_caches.clearAllCache()
portal.portal_workflow.refreshWorklistCache()
try:
portal.portal_workflow.refreshWorklistCache()
except AttributeError:
import sys
LOG('TestEERP5Banking.checkWorklist', 0, 'unable to find everything to refresh',
error=sys.exc_info())
portal_type = document.getPortalType()
state = document.getSimulationState()
workflow_id = '%s_workflow' % portal_type.lower().replace(' ', '_')
......
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