mirror of https://github.com/MISP/misp-modules
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 requestpull/338/head
parent
5ebd0bd4fc
commit
8995303878
|
@ -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": "https://cve.circl.lu/api/cve/"}}
|
||||
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"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue