summaryrefslogtreecommitdiff
path: root/searx/tests/engines/test_www1x.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-06-08 08:12:01 -0400
committerAdam Tauber <asciimoo@gmail.com>2015-06-08 08:12:01 -0400
commit96dfb86947d11a4e85f9f34704c8fa503290c8b0 (patch)
treeaa8968dc6d6238f102fd8a24236f612c8d4b1b3e /searx/tests/engines/test_www1x.py
parent4e28f12bfcc73b47f382bceedb5b65ee314674ae (diff)
parentded3f98218410101c26102fd481c16363484b154 (diff)
Merge pull request #361 from asciimoo/https
bing_images & www1x engines use https connections
Diffstat (limited to 'searx/tests/engines/test_www1x.py')
-rw-r--r--searx/tests/engines/test_www1x.py4
1 files changed, 2 insertions, 2 deletions
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')