mirror of https://github.com/MISP/misp-modules
fix: Fixed greynoise test following the latest changes on the module
parent
6801289175
commit
d48d884ef0
|
@ -50,7 +50,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
def test_greynoise(self):
|
def test_greynoise(self):
|
||||||
query = {"module": "greynoise", "ip-dst": "1.1.1.1"}
|
query = {"module": "greynoise", "ip-dst": "1.1.1.1"}
|
||||||
response = self.misp_modules_post(query)
|
response = self.misp_modules_post(query)
|
||||||
self.assertEqual(self.get_values(response)['status'], 'ok')
|
self.assertTrue(self.get_values(response).strartswith('{"ip":"1.1.1.1","status":"ok"')
|
||||||
|
|
||||||
def test_ipasn(self):
|
def test_ipasn(self):
|
||||||
query = {"module": "ipasn", "ip-dst": "1.1.1.1"}
|
query = {"module": "ipasn", "ip-dst": "1.1.1.1"}
|
||||||
|
|
Loading…
Reference in New Issue