summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_yacy.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2017-12-06 14:34:26 +0100
committerGitHub <noreply@github.com>2017-12-06 14:34:26 +0100
commit49b845051f027cf9d29a20821968103a0f55c9d9 (patch)
tree249693fb31423283ee21c5ded4bed844d7250f2e /tests/unit/engines/test_yacy.py
parentdf0b8ee5270a37642ccf5f42e95b0656aefc7fda (diff)
parent4d1770398a6af8902e75c0bd885781584d39e796 (diff)
downloadsearxng-49b845051f027cf9d29a20821968103a0f55c9d9.tar.gz
searxng-49b845051f027cf9d29a20821968103a0f55c9d9.zip
Merge pull request #973 from MarcAbonce/languages
Remove 'all' option from search languages
Diffstat (limited to 'tests/unit/engines/test_yacy.py')
-rw-r--r--tests/unit/engines/test_yacy.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unit/engines/test_yacy.py b/tests/unit/engines/test_yacy.py
index f49532cf4..a60614d3d 100644
--- a/tests/unit/engines/test_yacy.py
+++ b/tests/unit/engines/test_yacy.py
@@ -17,11 +17,6 @@ class TestYacyEngine(SearxTestCase):
self.assertIn('localhost', params['url'])
self.assertIn('fr', params['url'])
- dicto['language'] = 'all'
- params = yacy.request(query, dicto)
- self.assertIn('url', params)
- self.assertNotIn('lr=lang_', params['url'])
-
def test_response(self):
self.assertRaises(AttributeError, yacy.response, None)
self.assertRaises(AttributeError, yacy.response, [])