Commit 03283fc1 authored by Michal Čihař's avatar Michal Čihař

Store source language in the database

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5ec6be49
......@@ -18,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from unittest import TestCase
from django.test import TestCase
from weblate.lang.models import Language
from weblate.trans.exporters import (
......@@ -60,7 +60,7 @@ class PoExporterTest(TestCase):
lang = Language(code='zz', nplurals=nplurals)
project = Project(
slug='test',
source_language=Language(code='en'),
source_language=Language.objects.get(code='en'),
)
subproject = SubProject(slug='comp', project=project)
unit = Unit(
......
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