fix: Fixed greynoise test following the latest changes on the module

pull/340/head
chrisr3d 2019-10-04 16:48:59 +02:00
parent 6801289175
commit d48d884ef0
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class TestExpansions(unittest.TestCase):
def test_greynoise(self):
query = {"module": "greynoise", "ip-dst": "1.1.1.1"}
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):
query = {"module": "ipasn", "ip-dst": "1.1.1.1"}