Commit 8be7df00 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: test: workaround

parent 6a4b8f88
...@@ -1145,6 +1145,12 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -1145,6 +1145,12 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
'%s' % person.getRelativeUrl(), '%s' % person.getRelativeUrl(),
instance_tree.workflow_history['edit_workflow'][-1]['comment']) instance_tree.workflow_history['edit_workflow'][-1]['comment'])
# The test impacts all others
# workaround by deleting the object
accounting_transaction.getParentValue().manage_delObjects([accounting_transaction.getId()])
ticket.getParentValue().manage_delObjects([ticket.getId()])
self.tic()
@simulate('InstanceTree_deleteFromRegularisationRequest', @simulate('InstanceTree_deleteFromRegularisationRequest',
'*args, **kwargs', '*args, **kwargs',
'raise NotImplementedError, "Should not have been called"') 'raise NotImplementedError, "Should not have been called"')
......
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