mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
debug on travis
This commit is contained in:
@@ -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