summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_startpage.py
diff options
context:
space:
mode:
authorNoémi Ványi <kvch@users.noreply.github.com>2019-01-07 21:35:40 +0100
committerGitHub <noreply@github.com>2019-01-07 21:35:40 +0100
commit2438b3c77a3ad276aaeb15e5a54315d351a42273 (patch)
tree00d4783b39625ca01c61aa4f04cb88250b21dffc /tests/unit/engines/test_startpage.py
parent491792c1a58f71083f6af663bb6d93e40fa44c9f (diff)
parent97351a2c725ce620d452c62da07379130bafdb95 (diff)
Merge pull request #1475 from kvch/add-all-language-option-again
Revert "remove 'all' option from search languages"
Diffstat (limited to 'tests/unit/engines/test_startpage.py')
-rw-r--r--tests/unit/engines/test_startpage.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/engines/test_startpage.py b/tests/unit/engines/test_startpage.py
index 4a8a443dd..a4704ce22 100644
--- a/tests/unit/engines/test_startpage.py
+++ b/tests/unit/engines/test_startpage.py
@@ -21,6 +21,10 @@ class TestStartpageEngine(SearxTestCase):
self.assertIn('with_language', params['data'])
self.assertIn('lang_fr', params['data']['with_language'])
+ dicto['language'] = 'all'
+ params = startpage.request(query, dicto)
+ self.assertNotIn('with_language', params['data'])
+
def test_response(self):
self.assertRaises(AttributeError, startpage.response, None)
self.assertRaises(AttributeError, startpage.response, [])