fix: [tests] Fixed tests to avoid config issues with the cve module

- Config currently empty in the module, but being
  updated soon with a pending pull request
chrisr3d 2019-09-17 13:50:33 +02:00
parent 5ebd0bd4fc
commit 8995303878
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class TestExpansions(unittest.TestCase):
return data['results'][0]['values']
def test_cve(self):
query = {"module": "cve", "vulnerability": "CVE-2010-3333"}
query = {"module": "cve", "vulnerability": "CVE-2010-3333", "config": {"custom_API": ""}}
response = self.misp_modules_post(query)
self.assertTrue(self.get_values(response).startswith("Stack-based buffer overflow in Microsoft Office XP SP3, Office 2003 SP3"))