mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
remove 'all' option from search languages
This commit is contained in:
parent
46fb0d860e
commit
4d1770398a
56 changed files with 166 additions and 249 deletions
|
@ -20,12 +20,6 @@ class TestTwitterEngine(SearxTestCase):
|
|||
self.assertIn('lang', params['cookies'])
|
||||
self.assertIn('fr', params['cookies']['lang'])
|
||||
|
||||
dicto['language'] = 'all'
|
||||
params = twitter.request(query, dicto)
|
||||
self.assertIn('cookies', params)
|
||||
self.assertIn('lang', params['cookies'])
|
||||
self.assertIn('en', params['cookies']['lang'])
|
||||
|
||||
def test_response(self):
|
||||
self.assertRaises(AttributeError, twitter.response, None)
|
||||
self.assertRaises(AttributeError, twitter.response, [])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue