fix: [tests] Less specific assertion for the rbl module test

chrisr3d_patch
chrisr3d 2020-11-16 18:25:59 +01:00
parent c1e52fdb12
commit 0fcdfa6c53
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ class TestExpansions(unittest.TestCase):
query = {"module": "rbl", "ip-src": "8.8.8.8"}
response = self.misp_modules_post(query)
try:
self.assertTrue(self.get_values(response).startswith('8.8.8.8.query.senderbase.org: "0-0=1|1=GOOGLE'))
self.assertTrue(self.get_values(response).startswith('8.8.8.8.query.senderbase.org'))
except Exception:
self.assertEqual(self.get_errors(response), "No data found by querying known RBLs")