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_gettext.py
1
# test gettext
2
#
3
# @date 2020-04-08
4
# @author Christoph Holtermann <mail@c-holtermann.net>
5
6
from
unittest
import
TestCase, main
7
import
gnucash
8
from
gnucash
import
_sw_core_utils
9
10
11
class
TestGettext
(TestCase):
12
def
test_import_gettext(self):
13
import
gettext
14
15
def
test_get_localedir(self):
16
_localedir = _sw_core_utils.gnc_path_get_localedir()
17
18
if
__name__ ==
'__main__'
:
19
main()
test_gettext.TestGettext
Definition:
test_gettext.py:11
Generated by
1.8.14