on master help sign in
[fix] 1x.com tests
commit732ed952dc0f018b16254890491f8784c73e74cb authorAlexandre Flament <alex@al-f.net> dateSat 2 May 2015, 13:09 (11 years ago) parente7fd546
1 file changed+2−2
searx/tests/engines/test_www1x.py+2−2
searx/tests/engines/test_www1x.py+2−2
@@ -51,7 +51,7 @@ class TestWww1xEngine(SearxTestCase):
5151 results = www1x.response(response)
5252 self.assertEqual(type(results), list)
5353 self.assertEqual(len(results), 1)
54− self.assertEqual(results[0]['url'], 'https://1x.com/photo/123456')
55− self.assertEqual(results[0]['thumbnail_src'], 'https://1x.com/images/user/testimage-123456.jpg')
54+ self.assertEqual(results[0]['url'], 'http://1x.com/photo/123456')
55+ self.assertEqual(results[0]['thumbnail_src'], 'http://1x.com/images/user/testimage-123456.jpg')
5656 self.assertEqual(results[0]['content'], '')
5757 self.assertEqual(results[0]['template'], 'images.html')