From 2842b27c5074fa9a133cc0daf2e936e5e9c5a7c3 Mon Sep 17 00:00:00 2001 From: Jakub Onderka Date: Fri, 24 Dec 2021 16:17:37 +0100 Subject: [PATCH] fix: [test] Skip test_ipasn and test_otx tests --- tests/test_expansions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_expansions.py b/tests/test_expansions.py index 97d758c..7af78b7 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -265,6 +265,7 @@ class TestExpansions(unittest.TestCase): response = self.misp_modules_post(query) self.assertEqual(self.get_errors(response), 'Missing Greynoise API key.') + @unittest.skip("Service doesn't work") def test_ipasn(self): query = {"module": "ipasn", "attribute": {"type": "ip-src", @@ -345,6 +346,7 @@ class TestExpansions(unittest.TestCase): response = self.misp_modules_post(query) self.assertEqual(self.get_errors(response), 'Onyphe authentication is missing') + @unittest.skip("Unreliable results") def test_otx(self): query_types = ('domain', 'ip-src', 'md5') query_values = ('circl.lu', '8.8.8.8', '616eff3e9a7575ae73821b4668d2801c')