Commit 82cd2983 authored by Nicolas Wavrant's avatar Nicolas Wavrant

testAccounting: removes useless cleaning function

parent ef0477c1
...@@ -1187,10 +1187,6 @@ class TestClosingPeriod(AccountingTestCase): ...@@ -1187,10 +1187,6 @@ class TestClosingPeriod(AccountingTestCase):
self.portal.portal_types['Sale Invoice Transaction'].edit( self.portal.portal_types['Sale Invoice Transaction'].edit(
ledger=['accounting/general', 'accounting/detailed']) ledger=['accounting/general', 'accounting/detailed'])
def unSetUpLedger(self):
self.portal.portal_types['Sale Invoice Transaction'].edit(
ledger=None)
def test_createBalanceOnLedger(self): def test_createBalanceOnLedger(self):
self.setUpLedger() self.setUpLedger()
organisation_module = self.organisation_module organisation_module = self.organisation_module
...@@ -1357,9 +1353,6 @@ class TestClosingPeriod(AccountingTestCase): ...@@ -1357,9 +1353,6 @@ class TestClosingPeriod(AccountingTestCase):
self.assertEqual(result['pl'], pl_movement.getDestinationDebit()) self.assertEqual(result['pl'], pl_movement.getDestinationDebit())
self.tic() self.tic()
# Unconfigure ledgers from the instance
self.unSetUpLedger()
def test_createBalanceOnMirrorSectionMultiCurrency(self): def test_createBalanceOnMirrorSectionMultiCurrency(self):
pl = self.portal.account_module.newContent( pl = self.portal.account_module.newContent(
portal_type='Account', portal_type='Account',
......
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