Commit d153c7aa authored by Michal Čihař's avatar Michal Čihař

Add new_lang setting only if not present

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5014e4be
......@@ -157,6 +157,9 @@ class RepoTestCase(TestCase):
repo = self.git_repo_path
push = self.git_repo_path
if 'new_lang' not in kwargs:
kwargs['new_lang'] = 'contact'
return SubProject.objects.create(
name='Test',
slug='test',
......@@ -170,7 +173,6 @@ class RepoTestCase(TestCase):
repoweb=REPOWEB_URL,
save_history=True,
new_base=new_base,
new_lang='contact',
vcs=vcs,
**kwargs
)
......
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