From d495ca7366560fbcd449d39cf049d2b7a3e91d3b Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Fri, 14 May 2021 13:45:36 +0200 Subject: [PATCH] chg: [test] onyphe no way to test without authentication keys --- tests/test_expansions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_expansions.py b/tests/test_expansions.py index 84958ac..1bcc93e 100644 --- a/tests/test_expansions.py +++ b/tests/test_expansions.py @@ -310,6 +310,8 @@ class TestExpansions(unittest.TestCase): def test_onyphe(self): module_name = "onyphe" + if LiveCI: + return True query = {"module": module_name, "ip-src": "8.8.8.8"} if module_name in self.configs: query["config"] = self.configs[module_name] @@ -324,6 +326,8 @@ class TestExpansions(unittest.TestCase): def test_onyphe_full(self): module_name = "onyphe_full" + if LiveCI: + return True query = {"module": module_name, "ip-src": "8.8.8.8"} if module_name in self.configs: query["config"] = self.configs[module_name]