Commit 0efb5089 authored by Michal Čihař's avatar Michal Čihař

Fix new language tests for Android

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5f45f9f6
......@@ -229,11 +229,13 @@ class ViewTestCase(RepoTestCase):
class NewLangTest(ViewTestCase):
def setUp(self):
super(NewLangTest, self).setUp()
self.subproject.new_lang = 'add'
self.subproject.save()
def create_subproject(self):
subproject = self.create_po_new_base()
subproject.new_lang = 'add'
subproject.save()
return subproject
return self.create_po_new_base()
def test_none(self):
self.subproject.new_lang = 'none'
......
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