Commit 866c7ac5 authored by Sebastien Robin's avatar Sebastien Robin

fixed usages of ERP5TypeTestCase because this class

is only a proxy now

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42546 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 889c98fa
......@@ -562,11 +562,12 @@ class TestBPMDummyDeliveryMovementMixin(TestBPMMixin):
return delivery.newContent(portal_type='Dummy Movement', **kw)
def getBusinessTemplateList(self):
return TestBPMMixin.getBusinessTemplateList(self) \
return super(TestBPMDummyDeliveryMovementMixin, self)\
.getBusinessTemplateList() \
+ ('erp5_dummy_movement', )
def afterSetUp(self):
TestBPMMixin.afterSetUp(self)
super(TestBPMDummyDeliveryMovementMixin, self).afterSetUp()
if not hasattr(self.portal, 'testing_folder'):
self.portal.newContent(portal_type='Folder',
id='testing_folder')
......@@ -574,7 +575,7 @@ class TestBPMDummyDeliveryMovementMixin(TestBPMMixin):
self.stepTic()
def beforeTearDown(self):
TestBPMMixin.beforeTearDown(self)
super(TestBPMDummyDeliveryMovementMixin, self).beforeTearDown()
self.portal.deleteContent(id='testing_folder')
self.stepTic()
......
......@@ -92,11 +92,11 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict):
def afterSetUp(self):
UserDict.__init__(self)
return TestBPMMixin.afterSetUp(self)
return super(TestTradeModelLineMixin, self).afterSetUp()
def beforeTearDown(self):
UserDict.clear(self)
return TestBPMMixin.beforeTearDown(self)
return super(TestTradeModelLineMixin, self).beforeTearDown()
def clone(self, document):
parent = document.getParentValue()
......
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