Skip to content

Commit

Permalink
chg: [tests] historical records in threatcrowd
Browse files Browse the repository at this point in the history
  • Loading branch information
adulau committed Apr 15, 2021
1 parent 6dda2d0 commit 513e8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_expansions.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def test_stix2_pattern_validator(self):
def test_threatcrowd(self):
query_types = ('domain', 'ip-src', 'md5', 'whois-registrant-email')
query_values = ('circl.lu', '185.194.93.14', '616eff3e9a7575ae73821b4668d2801c', '[email protected]')
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)
Expand Down

0 comments on commit 513e8ea

Please sign in to comment.