|
|
|
|
71
|
self.assertEqual(len(results), 1)
|
71
|
self.assertEqual(len(results), 1)
|
72
|
|
72
|
|
73
|
r = results[0]
|
73
|
r = results[0]
|
74
|
- self.assertEqual(r['url'], 'https://www.acgsou.com/show-torrentid.html')
|
|
|
|
|
74
|
+ self.assertEqual(r['url'], 'http://www.acgsou.com/show-torrentid.html')
|
75
|
self.assertEqual(r['content'], 'Category: "testcategory".')
|
75
|
self.assertEqual(r['content'], 'Category: "testcategory".')
|
76
|
self.assertEqual(r['title'], 'torrentname')
|
76
|
self.assertEqual(r['title'], 'torrentname')
|
77
|
self.assertEqual(r['filesize'], 1048576)
|
77
|
self.assertEqual(r['filesize'], 1048576)
|