summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_preferences.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/test_preferences.py b/tests/unit/test_preferences.py
index 4fc6007d9..a33c78a44 100644
--- a/tests/unit/test_preferences.py
+++ b/tests/unit/test_preferences.py
@@ -1,3 +1,4 @@
+from searx.locales import locales_initialize
from searx.preferences import (
EnumStringSetting,
MapSetting,
@@ -8,6 +9,8 @@ from searx.preferences import (
)
from tests import SearxTestCase
+locales_initialize()
+
class PluginStub:
def __init__(self, plugin_id, default_on):