Debugging the rbl module test

tests
chrisr3d 2020-11-18 10:39:18 +01:00
parent 0fcdfa6c53
commit 43bcea2691
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ class TestExpansions(unittest.TestCase):
response = self.misp_modules_post(query)
try:
self.assertTrue(self.get_values(response).startswith('8.8.8.8.query.senderbase.org'))
except AssertionError:
print(response)
except Exception:
self.assertEqual(self.get_errors(response), "No data found by querying known RBLs")