debug on travis

This commit is contained in:
c-holtermann
2020-04-27 22:08:15 +02:00
parent 694e5a26ff
commit 2c09fe4f44

View File

@@ -8,6 +8,9 @@ import gettext
import gnucash
from gnucash import _sw_core_utils
class MyException(Exception):
pass
class TestGettext(TestCase):
def test_import_gettext(self):
import gettext
@@ -16,6 +19,7 @@ class TestGettext(TestCase):
_localedir = _sw_core_utils.gnc_path_get_localedir()
def test_translation(self):
raise MyException({'_(""): ':_(""), '_sw_core_utils.gnc_path_get_localedir(): ':_sw_core_utils.gnc_path_get_localedir()})
self.assertTrue("Project-Id-Version: GnuCash" in _(""))
if __name__ == '__main__':