auxi.modelling.financial.des_test module

This module provides testing code for the auxi.modelling.financial.des module.

class auxi.modelling.financial.des_test.GeneralLedgerAccountUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.financial.des.GeneralLedgerAccount class.

setUp()
test_constructor()
test_create_account()
test_get_child_account()
test_remove_account()
test_set_parent_path()
class auxi.modelling.financial.des_test.GeneralLedgerStructureUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.financial.des.generalledgerstructure class.

setUp()
test_constructor()

Test the the variables has been initialised and that the default accounts has been created.

test_get_account()
test_get_account_descendants()
test_report()
test_validate_account_name_invalid()
test_validate_account_name_valid()
class auxi.modelling.financial.des_test.GeneralLedgerUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.financial.des.GeneralLedger class.

setUp()
test_constructor()
test_create_transaction()
class auxi.modelling.financial.des_test.TransactionTemplateUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.financial.des.TransactionTemplate class.

setUp()
test_constructor()
class auxi.modelling.financial.des_test.TransactionUnitTester(methodName='runTest')

Bases: unittest.case.TestCase

Tester for the auxi.modelling.financial.des.Transaction class.

setUp()
test_constructor()