Fix slow search tests
parent
fe29484028
commit
6c2ec6a58c
|
@ -43,6 +43,6 @@ class TestPyMISPWarningLists(unittest.TestCase):
|
||||||
results = self.warninglists.search('2001:DB8::34:1')
|
results = self.warninglists.search('2001:DB8::34:1')
|
||||||
self.assertEqual(results[0].name, 'List of RFC 3849 CIDR blocks')
|
self.assertEqual(results[0].name, 'List of RFC 3849 CIDR blocks')
|
||||||
results = self.warninglists.search('1e100.net')
|
results = self.warninglists.search('1e100.net')
|
||||||
self.assertEqual(results[0].name, 'Top 1,000,000 most-used sites from Tranco')
|
self.assertEqual(results[0].name, 'List of known google domains')
|
||||||
results = self.warninglists.search('something.files.1drv.com')
|
results = self.warninglists.search('something.files.1drv.com')
|
||||||
self.assertEqual(results[0].name, 'Top 1,000,000 most-used sites from Tranco')
|
self.assertEqual(results[0].name, 'Top 1,000,000 most-used sites from Tranco')
|
||||||
|
|
Loading…
Reference in New Issue