From 899530387870b7c702180b3395a0b6c28d919a14 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Tue, 17 Sep 2019 13:50:33 +0200 Subject: [PATCH] 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 --- tests/test_expansions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_expansions.py b/tests/test_expansions.py index 364f63b..af90213 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -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"))