You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/bindings/python/tests/test_gettext.py

20 lines
402 B

# test gettext
#
# @date 2020-04-08
# @author Christoph Holtermann <mail@c-holtermann.net>
from unittest import TestCase, main
import gnucash
from gnucash import _sw_core_utils
class TestGettext(TestCase):
def test_import_gettext(self):
import gettext
def test_get_localedir(self):
_localedir = _sw_core_utils.gnc_path_get_localedir()
if __name__ == '__main__':
main()