summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_bing_images.py
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2018-11-25 23:32:48 -0600
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2019-01-06 20:31:57 -0600
commit5568f24d6ca9ae9a7eca27c107982b2689e40105 (patch)
treec67749e9dfeb4a27cef9a550fe366b291ead3373 /tests/unit/engines/test_bing_images.py
parent3c95d64ff8f5f42a69b05d721265c6e484edc451 (diff)
downloadsearxng-5568f24d6ca9ae9a7eca27c107982b2689e40105.tar.gz
searxng-5568f24d6ca9ae9a7eca27c107982b2689e40105.zip
[fix] check language aliases when setting search language
Diffstat (limited to 'tests/unit/engines/test_bing_images.py')
-rw-r--r--tests/unit/engines/test_bing_images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/engines/test_bing_images.py b/tests/unit/engines/test_bing_images.py
index cb1d550d9..e65e6cc04 100644
--- a/tests/unit/engines/test_bing_images.py
+++ b/tests/unit/engines/test_bing_images.py
@@ -9,6 +9,7 @@ class TestBingImagesEngine(SearxTestCase):
def test_request(self):
bing_images.supported_languages = ['fr-FR', 'en-US']
+ bing_images.language_aliases = {}
query = 'test_query'
dicto = defaultdict(dict)
dicto['pageno'] = 1