From 53d59461165594bd0a4da5b46e7d7eff5ec6c381 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Thu, 25 Aug 2016 17:15:49 +0200 Subject: [PATCH] Remove old test for checking translation string on server-side. (Config translations are moved to client-side.) --- tests/old/utils/test_main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/old/utils/test_main.py b/tests/old/utils/test_main.py index b6513d2b8..0397177f5 100644 --- a/tests/old/utils/test_main.py +++ b/tests/old/utils/test_main.py @@ -2,7 +2,6 @@ import os import sys from unittest.mock import MagicMock, patch -from openslides.core.config import config from openslides.utils import main from openslides.utils.test import TestCase @@ -86,8 +85,3 @@ class TestFunctions(TestCase): inner_function = mock_Thread.call_args[1]['target'] inner_function() browser_mock.open.assert_called_with('http://localhost:8234') - - def test_translate_customizable_strings(self): - self.assertEqual(config['general_event_description'], 'Presentation and assembly system') - main.translate_customizable_strings('de') - self.assertEqual(config['general_event_description'], u'Präsentations- und Versammlungssystem')