diff options
author | Dalf <alex@al-f.net> | 2015-06-06 19:23:07 +0200 |
---|---|---|
committer | Dalf <alex@al-f.net> | 2015-06-06 19:23:07 +0200 |
commit | 9e147d91f041e28240e5782ba2223a18f9ddd3b1 (patch) | |
tree | e9d724572e0f780c24942d664ad1312607949a45 /searx/tests | |
parent | 4e28f12bfcc73b47f382bceedb5b65ee314674ae (diff) | |
download | searxng-9e147d91f041e28240e5782ba2223a18f9ddd3b1.tar.gz searxng-9e147d91f041e28240e5782ba2223a18f9ddd3b1.zip |
bing_images & www1x engines use https connections
Diffstat (limited to 'searx/tests')
-rw-r--r-- | searx/tests/engines/test_bing_images.py | 2 | ||||
-rw-r--r-- | searx/tests/engines/test_www1x.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/searx/tests/engines/test_bing_images.py b/searx/tests/engines/test_bing_images.py index a1d96b06e..f869da79d 100644 --- a/searx/tests/engines/test_bing_images.py +++ b/searx/tests/engines/test_bing_images.py @@ -59,7 +59,7 @@ oh:"238",tft:"0",oi:"http://www.image.url/Images/Test%2 self.assertEqual(results[0]['title'], 'Test Query') self.assertEqual(results[0]['url'], 'http://www.page.url/') self.assertEqual(results[0]['content'], '') - self.assertEqual(results[0]['thumbnail_src'], 'http://ts1.mm.bing.net/th?id=HN.608003696942779811') + self.assertEqual(results[0]['thumbnail_src'], 'https://www.bing.com/th?id=HN.608003696942779811') self.assertEqual(results[0]['img_src'], 'http://test.url/Test%20Query.jpg') html = """ diff --git a/searx/tests/engines/test_www1x.py b/searx/tests/engines/test_www1x.py index ab4f282c1..9df8de6bf 100644 --- a/searx/tests/engines/test_www1x.py +++ b/searx/tests/engines/test_www1x.py @@ -51,7 +51,7 @@ class TestWww1xEngine(SearxTestCase): results = www1x.response(response) self.assertEqual(type(results), list) self.assertEqual(len(results), 1) - self.assertEqual(results[0]['url'], 'http://1x.com/photo/123456') - self.assertEqual(results[0]['thumbnail_src'], 'http://1x.com/images/user/testimage-123456.jpg') + self.assertEqual(results[0]['url'], 'https://1x.com/photo/123456') + self.assertEqual(results[0]['thumbnail_src'], 'https://1x.com/images/user/testimage-123456.jpg') self.assertEqual(results[0]['content'], '') self.assertEqual(results[0]['template'], 'images.html') |