Commit 5ec6be49 authored by Michal Čihař's avatar Michal Čihař

Ensure test has source language defined

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 2d2a5b88
...@@ -58,7 +58,10 @@ class PoExporterTest(TestCase): ...@@ -58,7 +58,10 @@ class PoExporterTest(TestCase):
def check_unit(self, nplurals=3, **kwargs): def check_unit(self, nplurals=3, **kwargs):
lang = Language(code='zz', nplurals=nplurals) lang = Language(code='zz', nplurals=nplurals)
project = Project(slug='test') project = Project(
slug='test',
source_language=Language(code='en'),
)
subproject = SubProject(slug='comp', project=project) subproject = SubProject(slug='comp', project=project)
unit = Unit( unit = Unit(
translation=Translation( translation=Translation(
......
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