diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2011-02-07 18:44:25 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2011-02-07 20:06:27 -0300 |
commit | 9b3d0b2ef2899d88ec026d81b84c45e4b501a17b (patch) | |
tree | 80537ccd073acd217614eef83f31b64cef659b38 | |
parent | 8a50e91e6fd14ea7d323cfde471723c0dbb1ddc6 (diff) | |
download | pyside-9b3d0b2ef2899d88ec026d81b84c45e4b501a17b.tar.gz pyside-9b3d0b2ef2899d88ec026d81b84c45e4b501a17b.tar.xz pyside-9b3d0b2ef2899d88ec026d81b84c45e4b501a17b.zip |
Updated translation test to use previous generated qm files.
Upload qm files used on test to git.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Lauro Moura <lauro.neto@openbossa.org>
-rw-r--r-- | tests/QtCore/translation_test.py | 8 | ||||
-rw-r--r-- | tests/QtCore/translations/trans_latin.qm | bin | 0 -> 125 bytes | |||
-rw-r--r-- | tests/QtCore/translations/trans_russian.qm | bin | 0 -> 114 bytes |
3 files changed, 0 insertions, 8 deletions
diff --git a/tests/QtCore/translation_test.py b/tests/QtCore/translation_test.py index 7b5c5d6..d357b90 100644 --- a/tests/QtCore/translation_test.py +++ b/tests/QtCore/translation_test.py @@ -16,14 +16,6 @@ class TranslationTest(UsesQCoreApplication): def setUp(self): super(TranslationTest, self).setUp() self.trdir = os.path.join(os.path.dirname(__file__), 'translations') - # os.system is probably not the best way to do it - for file in glob.glob('%s/*.ts' % self.trdir): - self.assertFalse(os.system('lrelease -silent %s' % file)) - - def tearDown(self): - for file in glob.glob('%s/*.qm' % self.trdir): - os.remove(file) - super(TranslationTest, self).tearDown() def testLatin(self): #Set string value to Latin diff --git a/tests/QtCore/translations/trans_latin.qm b/tests/QtCore/translations/trans_latin.qm Binary files differnew file mode 100644 index 0000000..efdbee8 --- /dev/null +++ b/tests/QtCore/translations/trans_latin.qm diff --git a/tests/QtCore/translations/trans_russian.qm b/tests/QtCore/translations/trans_russian.qm Binary files differnew file mode 100644 index 0000000..5f16552 --- /dev/null +++ b/tests/QtCore/translations/trans_russian.qm |