GnuCash 7574033+
Loading...
Searching...
No Matches
test_book.BookSession Class Reference
Inheritance diagram for test_book.BookSession:
test_account.AccountSession test_book.TestBook test_business.BusinessSession test_split.SplitSession test_transaction.TransactionSession test_account.TestAccount test_business.TestBusiness test_split.TestSplit test_transaction.TestTransaction

Public Member Functions

 setUp (self)

Data Fields

 ses = Session()
 book = self.ses.get_book()
 table = self.book.get_table()
 currency = self.table.lookup('CURRENCY', 'EUR')

Detailed Description

Definition at line 5 of file test_book.py.

Member Function Documentation

◆ setUp()

test_book.BookSession.setUp ( self)

Definition at line 6 of file test_book.py.

6 def setUp(self):
7 self.ses = Session()
8 self.book = self.ses.get_book()
9 self.table = self.book.get_table()
10 self.currency = self.table.lookup('CURRENCY', 'EUR')
11

Field Documentation

◆ book

test_book.BookSession.book = self.ses.get_book()

Definition at line 8 of file test_book.py.

◆ currency

test_book.BookSession.currency = self.table.lookup('CURRENCY', 'EUR')

Definition at line 10 of file test_book.py.

◆ ses

test_book.BookSession.ses = Session()

Definition at line 7 of file test_book.py.

◆ table

test_book.BookSession.table = self.book.get_table()

Definition at line 9 of file test_book.py.


The documentation for this class was generated from the following file: