[fix] language support for bing images and videos

This commit is contained in:
marc 2017-10-10 16:49:49 -05:00
parent 1adc8d6e26
commit a524dbb823
4 changed files with 61 additions and 14 deletions

View file

@ -8,6 +8,8 @@ from searx.testing import SearxTestCase
class TestBingVideosEngine(SearxTestCase):
def test_request(self):
bing_videos.supported_languages = ['fr-FR', 'en-US']
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 1