コード例 #1
0
 def test_chart_of_accounts(self):
     "Check account hierarchy is represented correctly in text."
     assert chart_of_accounts(
         account_tree_from_account_strings(
             self.account_strings)) == self.chart_of_accounts
コード例 #2
0
ファイル: test_ledger.py プロジェクト: Isendir/ledger.py
 def test_chart_of_accounts(self):
     "Check account hierarchy is represented correctly in text."
     assert chart_of_accounts(account_tree_from_account_strings(self.account_strings)) == self.chart_of_accounts
コード例 #3
0
 def test_account_tree_from_account_strings(self):
     assert account_tree_from_account_strings(
         self.account_strings) == self.account_structure
コード例 #4
0
ファイル: test_ledger.py プロジェクト: Isendir/ledger.py
 def test_account_tree_from_account_strings(self):
     assert account_tree_from_account_strings(self.account_strings) == self.account_structure