summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNoémi Ványi <sitbackandwait@gmail.com>2020-10-23 16:22:55 +0200
committerNoémi Ványi <sitbackandwait@gmail.com>2020-10-25 18:06:18 +0100
commit33e139cae64bb78157ebca56a5d1a752da95555a (patch)
treebf4ff91f497f4ec5941acca7ac0fc23e315536cc /tests
parent6beb84efb8c8b62f1dfa9e7af33db73c06fabcb2 (diff)
downloadsearxng-33e139cae64bb78157ebca56a5d1a752da95555a.tar.gz
searxng-33e139cae64bb78157ebca56a5d1a752da95555a.zip
Let admins lock user preferences
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_preferences.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_preferences.py b/tests/unit/test_preferences.py
index 32f50c60b..bee436027 100644
--- a/tests/unit/test_preferences.py
+++ b/tests/unit/test_preferences.py
@@ -141,4 +141,4 @@ class TestPreferences(SearxTestCase):
pref.parse_encoded_data(url_params)
self.assertEqual(
vars(pref.key_value_settings['categories']),
- {'value': ['general'], 'choices': ['general', 'none']})
+ {'value': ['general'], 'locked': False, 'choices': ['general', 'none']})