summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_search.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_search.py b/tests/test_search.py
index d110596..58c11c4 100644
--- a/tests/test_search.py
+++ b/tests/test_search.py
@@ -427,13 +427,16 @@ def test_manager_search_cell(app, admin_user):
**{'data-add-url': re.compile('search_searchcell')})['data-add-url'])
-
def test_wcs_search_engines(app):
with override_settings(KNOWN_SERVICES={}):
search_engines = engines.get_engines()
assert 'tracking-code' not in search_engines.keys()
assert len([x for x in search_engines.keys() if x.startswith('formdata:')]) == 0
+ for key, engine in engines.get_engines().items():
+ if key.startswith('formdata:'):
+ assert '&include-anonymised=off' in engine['url']
+
def test_profile_search_engines(app):
search_engines = engines.get_engines()