From 16a889dd8f4886cedf92a008ca89724bba0992dd Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 29 Dec 2020 11:01:35 +0100 Subject: [PATCH] [enh] checker: add rosebud test --- searx/settings.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/searx/settings.yml b/searx/settings.yml index 30afbf95..f0ec0554 100644 --- a/searx/settings.yml +++ b/searx/settings.yml @@ -102,6 +102,17 @@ outgoing: # communication with search engines # - "HTTPS rewrite" # - ... +additional_tests: + rosebud: &test_rosebud + matrix: + query: rosebud + lang: en + result_container: + - not_empty + - [one_title_contains', 'citizen kane'] + test: + - unique_results + engines: - name: apk mirror engine: apkmirror @@ -278,6 +289,8 @@ engines: engine : etools shortcut : eto disabled : True + additional_tests: + rosebud: *test_rosebud - name : etymonline engine : xpath @@ -343,6 +356,8 @@ engines: shortcut : gb timeout : 3.0 disabled: True + additional_tests: + rosebud: *test_rosebud - name : gentoo engine : gentoo @@ -646,6 +661,8 @@ engines: shortcut : qw categories : general disabled : True + additional_tests: + rosebud: *test_rosebud - name : qwant images engine : qwant @@ -745,6 +762,8 @@ engines: shortcut : sp timeout : 6.0 disabled : True + additional_tests: + rosebud: *test_rosebud - name : tokyotoshokan engine : tokyotoshokan @@ -856,6 +875,8 @@ engines: number_of_results : 5 search_type : text disabled : True + additional_tests: + rosebud: *test_rosebud - name : wikisource engine : mediawiki