fix: [test] Skip test_ipasn and test_otx tests

pull/539/head
Jakub Onderka 2021-12-24 16:17:37 +01:00
parent 3fe7072bfb
commit 2842b27c50
1 changed files with 2 additions and 0 deletions

View File

@ -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')