Add test for a subdomain slow search

pull/5/head
Ilya Glotov 2019-07-09 01:13:39 +03:00
parent 5bff665167
commit f730ea0db7
No known key found for this signature in database
GPG Key ID: 5862B629BFB84D34
1 changed files with 2 additions and 0 deletions

View File

@ -44,3 +44,5 @@ class TestPyMISPWarningLists(unittest.TestCase):
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, 'List of known google domains') self.assertEqual(results[0].name, 'List of known google domains')
results = self.warninglists.search('something.files.1drv.com')
self.assertEqual(results[0].name, 'List of known microsoft domains')