summaryrefslogtreecommitdiff
path: root/searx/tests/engines/test_www1x.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-02 11:43:12 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-02 11:43:12 +0200
commit78edc16e66fccbfb16c522f4453c88a85de61bf4 (patch)
treeef5844cfb06bf16681fcb34cdb0a322287cf7dc8 /searx/tests/engines/test_www1x.py
parentbbd83f5a519381ac7ea690a1645258d106a9ba8a (diff)
[enh] reduce the number of http outgoing connections.
engines that still use http : gigablast, bing image for thumbnails, 1x and dbpedia autocompleter
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')