mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-26 08:00:05 -05:00
debug on travis
This commit is contained in:
1 parent
694e5a26ff
commit
2c09fe4f44
1 file changed
+4
@@ -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__':
|
||||
|
||||
Reference in new issue
Block a user