Commit b4425819 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@42559 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 63e38ece
......@@ -88,7 +88,7 @@ class TestPayrollMixin(TestTradeModelLineMixin, ERP5ReportTestCase):
def afterSetUp(self):
"""Prepare the test."""
TestTradeModelLineMixin.afterSetUp(self)
super(TestPayrollMixin, self).afterSetUp()
self.createCategories()
self.fixed_quantity = self.setBaseAmountQuantityMethod('fixed_quantity',
"return lambda *args, **kw: 1")
......@@ -133,7 +133,7 @@ class TestPayrollMixin(TestTradeModelLineMixin, ERP5ReportTestCase):
@reindex
def beforeTearDown(self):
TestTradeModelLineMixin.beforeTearDown(self)
super(TestPayrollMixin, self).beforeTearDown()
transaction.abort()
for module in (
self.portal.organisation_module,
......
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