From d269de0b63f60403bb4f98970ba72a4fa3fd7905 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Mon, 26 Jun 2023 21:45:36 +0200 Subject: [PATCH] Add Russian language to tests. --- tests/settings.py | 1 + tests/test_templatetags.py | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/tests/settings.py b/tests/settings.py index 9b57d54..14b3c7b 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -105,6 +105,7 @@ LANGUAGES = ( ("it", "Italiano"), ("pl", "Polski"), ("pt-BR", "Português"), + ("ru", "Русский"), ("tr", "Türk"), ) LANGUAGE_CODE = "en" diff --git a/tests/test_templatetags.py b/tests/test_templatetags.py index 4b123a3..8de4b88 100644 --- a/tests/test_templatetags.py +++ b/tests/test_templatetags.py @@ -82,6 +82,13 @@ class AdminInterfaceTemplateTagsTestCase(TestCase): "active": False, "activation_url": "/i18n/setlang/?next=/pt-br/admin/", }, + { + "code": "ru", + "name": "Русский", + "default": False, + "active": False, + "activation_url": "/i18n/setlang/?next=/ru/admin/", + }, { "code": "tr", "name": "Türk",