浏览代码

[fix] 1x.com tests

Alexandre Flament 10 年前
父节点
当前提交
732ed952dc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      searx/tests/engines/test_www1x.py

+ 2
- 2
searx/tests/engines/test_www1x.py 查看文件

@@ -51,7 +51,7 @@ class TestWww1xEngine(SearxTestCase):
51 51
         results = www1x.response(response)
52 52
         self.assertEqual(type(results), list)
53 53
         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')
56 56
         self.assertEqual(results[0]['content'], '')
57 57
         self.assertEqual(results[0]['template'], 'images.html')