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
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
def test_account_tree_from_account_strings(self): assert account_tree_from_account_strings( self.account_strings) == self.account_structure
def test_account_tree_from_account_strings(self): assert account_tree_from_account_strings(self.account_strings) == self.account_structure