From 2b592ce267c4ac9a20f458cbe98c0332cf797b84 Mon Sep 17 00:00:00 2001 From: chrisr3d Date: Fri, 1 Nov 2019 16:59:58 +0100 Subject: [PATCH] fix: Avoiding empty config error on passivetotal module --- 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 073d1ae..1740d04 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -269,7 +269,7 @@ class TestExpansions(unittest.TestCase): def test_passivetotal(self): module_name = "passivetotal" - query = {"module": module_name, "ip-src": "149.13.33.14"} + query = {"module": module_name, "ip-src": "149.13.33.14", "config": {}} if module_name in self.configs: query["config"] = self.configs[module_name] response = self.misp_modules_post(query)