Commit 78d3188a authored by Michal Čihař's avatar Michal Čihař

Verify that language has actually been added

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 953184b5
......@@ -774,6 +774,10 @@ class TranslationTest(RepoTestCase):
None, 'TEST <test@example.net>', timezone.now(),
force_commit=True
)
linguas = os.path.join(subproject.get_path(), 'po', 'LINGUAS')
with open(linguas, 'r') as handle:
data = handle.read()
self.assertIn('\ncs\n', data)
self.assertFalse(translation.repo_needs_commit())
def test_validation(self):
......
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