chg: [test] onyphe no way to test without authentication keys

pull/501/head v2.4.143
Alexandre Dulaunoy 2021-05-14 13:45:36 +02:00
parent 77035a82e0
commit d495ca7366
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 4 additions and 0 deletions

View File

@ -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]