chg: [tests] LiveCI set for RBL tests (network connectivity issues in the CI)

pull/496/head v2.4.141
Alexandre Dulaunoy 2021-04-19 08:30:39 +02:00
parent e25ebd3aff
commit 97a0f3a2c5
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 2 additions and 0 deletions

View File

@ -399,6 +399,8 @@ class TestExpansions(unittest.TestCase):
self.assertEqual(self.get_errors(response), "Ransomcoindb API key is missing")
def test_rbl(self):
if LiveCI:
return True
query = {"module": "rbl", "ip-src": "8.8.8.8"}
response = self.misp_modules_post(query)
try: