Merge branch 'master' of github.com:MISP/misp-modules into tests

pull/339/head
chrisr3d 2019-10-04 16:49:49 +02:00
commit 43f663ac99
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,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"}