debug on travis

This commit is contained in:
c-holtermann committed 2020-05-28 18:51:01 +02:00
1 parent 694e5a26ff
commit 2c09fe4f44
1 file changed
+4
+4
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__':