diff options
| author | Noémi Ványi <kvch@users.noreply.github.com> | 2019-01-15 22:11:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-15 22:11:26 +0100 |
| commit | 25367cfba13de9bec580d7d495c4e70b8ea8f76d (patch) | |
| tree | bc4f87b06f658d13d8e4f6a553b5ab90ffe00ed8 /tests/unit/engines/test_bing_images.py | |
| parent | 4977ea5405954107d071235093f01d0246c31fb2 (diff) | |
| parent | 383e3cc554a3704cd8b076aa686f32b8ce78f681 (diff) | |
Merge branch 'master' into setup-no-tests
Diffstat (limited to 'tests/unit/engines/test_bing_images.py')
| -rw-r--r-- | tests/unit/engines/test_bing_images.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/engines/test_bing_images.py b/tests/unit/engines/test_bing_images.py index afc4cd6f0..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 @@ -52,7 +53,7 @@ class TestBingImagesEngine(SearxTestCase): <li> <div> <div class="imgpt"> - <a m='{"purl":"page_url","murl":"img_url"}' mad='{"turl":"thumb_url"}'> + <a m='{"purl":"page_url","murl":"img_url","turl":"thumb_url"}'> <img src="" alt="alt text" /> </a> </div> @@ -60,7 +61,7 @@ class TestBingImagesEngine(SearxTestCase): </div> <div> <div class="imgpt"> - <a m='{"purl":"page_url2","murl":"img_url2"}' mad='{"turl":"thumb_url2"}'> + <a m='{"purl":"page_url2","murl":"img_url2","turl":"thumb_url2"}'> <img src="" alt="alt text 2" /> </a> </div> @@ -71,7 +72,7 @@ class TestBingImagesEngine(SearxTestCase): <li> <div> <div class="imgpt"> - <a m='{"purl":"page_url3","murl":"img_url3"}' mad='{"turl":"thumb_url3"}'> + <a m='{"purl":"page_url3","murl":"img_url3","turl":"thumb_url3"}'> <img src="" alt="alt text 3" /> </a> </div> |