mirror of https://github.com/MISP/misp-modules
fix: [test] Skip test_ipasn and test_otx tests
parent
3fe7072bfb
commit
2842b27c50
|
@ -265,6 +265,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
response = self.misp_modules_post(query)
|
response = self.misp_modules_post(query)
|
||||||
self.assertEqual(self.get_errors(response), 'Missing Greynoise API key.')
|
self.assertEqual(self.get_errors(response), 'Missing Greynoise API key.')
|
||||||
|
|
||||||
|
@unittest.skip("Service doesn't work")
|
||||||
def test_ipasn(self):
|
def test_ipasn(self):
|
||||||
query = {"module": "ipasn",
|
query = {"module": "ipasn",
|
||||||
"attribute": {"type": "ip-src",
|
"attribute": {"type": "ip-src",
|
||||||
|
@ -345,6 +346,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
response = self.misp_modules_post(query)
|
response = self.misp_modules_post(query)
|
||||||
self.assertEqual(self.get_errors(response), 'Onyphe authentication is missing')
|
self.assertEqual(self.get_errors(response), 'Onyphe authentication is missing')
|
||||||
|
|
||||||
|
@unittest.skip("Unreliable results")
|
||||||
def test_otx(self):
|
def test_otx(self):
|
||||||
query_types = ('domain', 'ip-src', 'md5')
|
query_types = ('domain', 'ip-src', 'md5')
|
||||||
query_values = ('circl.lu', '8.8.8.8', '616eff3e9a7575ae73821b4668d2801c')
|
query_values = ('circl.lu', '8.8.8.8', '616eff3e9a7575ae73821b4668d2801c')
|
||||||
|
|
Loading…
Reference in New Issue