GnuCash
5.6-150-g038405b370+
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
+
Files
File List
+
Globals
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
c
d
f
g
i
n
o
p
q
s
t
u
x
Variables
+
Typedefs
a
b
g
l
o
p
q
s
t
+
Enumerations
c
d
f
g
p
q
r
s
u
+
Enumerator
a
c
d
e
g
n
q
s
t
u
w
+
Macros
a
c
e
f
g
m
n
o
p
q
s
t
v
x
y
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
bindings
python
tests
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
self.
table
= self.
book
.get_table()
10
self.
currency
= self.
table
.lookup(
'CURRENCY'
,
'EUR'
)
11
12
class
TestBook
(
BookSession
):
13
def
test_markclosed(self):
14
self.
ses
.end()
15
16
if
__name__ ==
'__main__'
:
17
main()
test_book.BookSession.ses
ses
Definition:
test_book.py:7
test_book.BookSession
Definition:
test_book.py:5
test_book.BookSession.currency
currency
Definition:
test_book.py:10
test_book.BookSession.book
book
Definition:
test_book.py:8
test_book.TestBook
Definition:
test_book.py:12
test_book.BookSession.table
table
Definition:
test_book.py:9
Generated by
1.8.14