GnuCash  4.11-137-g155922540d+
Variables

Creates a basic set of accounts and a couple of transactions. More...

Go to the source code of this file.

Variables

string simple_test.FILE_1 = "/tmp/example.gnucash"
 
 simple_test.book = session.book
 
 simple_test.root_acct = Account(book)
 
 simple_test.expenses_acct = Account(book)
 
 simple_test.savings_acct = Account(book)
 
 simple_test.opening_acct = Account(book)
 
 simple_test.trans1 = Transaction(book)
 
 simple_test.trans2 = Transaction(book)
 
 simple_test.split1 = Split(book)
 
 simple_test.split3 = Split(book)
 
 simple_test.comm_table = book.get_table()
 
 simple_test.cad = comm_table.lookup("CURRENCY", "CAD")
 
 simple_test.num1 = GncNumeric(4, 1)
 
 simple_test.num2 = GncNumeric(100, 1)
 
 simple_test.split2 = Split(book)
 
 simple_test.split4 = Split(book)
 

Detailed Description

Creates a basic set of accounts and a couple of transactions.

Definition in file simple_test.py.