summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2015-05-02 13:09:18 +0200
committerAlexandre Flament <alex@al-f.net>2015-05-02 13:09:18 +0200
commit732ed952dc0f018b16254890491f8784c73e74cb (patch)
treeac0c445e8ccd8058bc8b80a24dedc1d9514e768a /searx
parente7fd546aae12fa97bdd268b3b9c1d1eac13a1034 (diff)
downloadsearxng-732ed952dc0f018b16254890491f8784c73e74cb.tar.gz
searxng-732ed952dc0f018b16254890491f8784c73e74cb.zip
[fix] 1x.com tests
Diffstat (limited to 'searx')
-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 9df8de6bf..ab4f282c1 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'], 'https://1x.com/photo/123456')
- self.assertEqual(results[0]['thumbnail_src'], 'https://1x.com/images/user/testimage-123456.jpg')
+ 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]['content'], '')
self.assertEqual(results[0]['template'], 'images.html')