diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2022-06-12 10:56:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-12 10:56:59 +0200 |
| commit | 916f5f8b9090befd82d6e2534dfce4f07142e9e8 (patch) | |
| tree | 06937377ddc4f4a36ec1a236e79476be340fae1f /tests | |
| parent | a029ebff012b75a96462aab66f3247d9fc88684e (diff) | |
| parent | ad964562ce249f86b806638d1eab2afc2c4ed8df (diff) | |
Merge pull request #1306 from return42/fix-1303
[fix] move locale code from webapp.py to locales.py and fix #1303
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/unit/test_preferences.py | 3 |
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): |