Commit 2f6831ea authored by Michal Čihař's avatar Michal Čihař

Add test for parsing TS monolingual

Issue #460
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f8362ddd
......@@ -213,6 +213,13 @@ class RepoTestCase(TestCase):
'ts{0}/*.ts'.format(suffix),
)
def create_ts_mono(self):
return self._create_subproject(
'ts',
'ts-mono/*.ts',
'ts-mono/en.ts',
)
def create_iphone(self):
return self._create_subproject(
'strings',
......@@ -435,6 +442,10 @@ class SubProjectTest(RepoTestCase):
self.assertTrue(unit.fuzzy)
self.assertEqual(unit.target, 'Thanks')
def test_create_ts_mono(self):
project = self.create_ts_mono()
self.verify_subproject(project, 2, 'cs', 4)
def test_create_po_pot(self):
project = self._create_subproject(
'po',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment