mirror of
https://github.com/searxng/searxng.git
synced 2025-12-27 22:20:02 +00:00
[mod] fetch supported languages for several engines
utils/fetch_languages.py gets languages supported by each engine and generates engines_languages.json with each engine's supported language.
This commit is contained in:
@@ -17,7 +17,7 @@ class TestSubtitleseekerEngine(SearxTestCase):
|
||||
|
||||
def test_response(self):
|
||||
dicto = defaultdict(dict)
|
||||
dicto['language'] = 'fr_FR'
|
||||
dicto['language'] = 'fr-FR'
|
||||
response = mock.Mock(search_params=dicto)
|
||||
|
||||
self.assertRaises(AttributeError, subtitleseeker.response, None)
|
||||
|
||||
Reference in New Issue
Block a user