mirror of https://github.com/MISP/misp-modules
fix: copy paste syntax error
parent
d48d884ef0
commit
6bcd60871c
|
@ -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.assertTrue(self.get_values(response).strartswith('{"ip":"1.1.1.1","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