chg: [tests] historical records in threatcrowd

pull/496/head
Alexandre Dulaunoy 2021-04-15 10:33:36 +02:00
parent 6dda2d08c0
commit 513e8eabc6
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ class TestExpansions(unittest.TestCase):
def test_threatcrowd(self):
query_types = ('domain', 'ip-src', 'md5', 'whois-registrant-email')
query_values = ('circl.lu', '185.194.93.14', '616eff3e9a7575ae73821b4668d2801c', 'hostmaster@eurodns.com')
results = ('185.194.93.14', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
results = ('149.13.33.4', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
for query_type, query_value, result in zip(query_types, query_values, results):
query = {"module": "threatcrowd", query_type: query_value}
response = self.misp_modules_post(query)