mirror of https://github.com/searxng/searxng.git
Fix unit test url
This commit is contained in:
parent
3b89ce9bfa
commit
b7eb05dac6
|
@ -71,7 +71,7 @@ class TestAcgsouEngine(SearxTestCase):
|
||||||
self.assertEqual(len(results), 1)
|
self.assertEqual(len(results), 1)
|
||||||
|
|
||||||
r = results[0]
|
r = results[0]
|
||||||
self.assertEqual(r['url'], 'https://www.acgsou.com/show-torrentid.html')
|
self.assertEqual(r['url'], 'http://www.acgsou.com/show-torrentid.html')
|
||||||
self.assertEqual(r['content'], 'Category: "testcategory".')
|
self.assertEqual(r['content'], 'Category: "testcategory".')
|
||||||
self.assertEqual(r['title'], 'torrentname')
|
self.assertEqual(r['title'], 'torrentname')
|
||||||
self.assertEqual(r['filesize'], 1048576)
|
self.assertEqual(r['filesize'], 1048576)
|
||||||
|
|
Loading…
Reference in New Issue