GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
test_book.py
1 from unittest import TestCase, main
2 
3 from gnucash import Session
4 
5 class BookSession( TestCase ):
6  def setUp(self):
7  self.ses = Session()
8  self.book = self.ses.get_book()
9  table = self.book.get_table()
10  self.currency = table.lookup('CURRENCY', 'EUR')
11 
13  def test_markclosed(self):
14  self.ses.end()
15 
16 if __name__ == '__main__':
17  main()