Commit c3fe7ecf authored by Nicolas Wavrant's avatar Nicolas Wavrant

testAccountingReports: respect naming conventions (fix for 24fca18f)

parent 07e5ad64
...@@ -832,7 +832,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase): ...@@ -832,7 +832,7 @@ class TestAccountingReports(AccountingTestCase, ERP5ReportTestCase):
source_credit=300.0))) source_credit=300.0)))
@UnrestrictedMethod @UnrestrictedMethod
def createLedgerCategories(self): def createLedgerCategory(self):
ledger = self.portal.portal_categories.ledger ledger = self.portal.portal_categories.ledger
self.accounting_ledger = ledger.get('accounting', None) self.accounting_ledger = ledger.get('accounting', None)
if self.accounting_ledger is None: if self.accounting_ledger is None:
......
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