mirror of https://github.com/MISP/misp-modules
fix: [tests] Less specific assertion for the rbl module test
parent
c1e52fdb12
commit
0fcdfa6c53
|
@ -397,7 +397,7 @@ class TestExpansions(unittest.TestCase):
|
||||||
query = {"module": "rbl", "ip-src": "8.8.8.8"}
|
query = {"module": "rbl", "ip-src": "8.8.8.8"}
|
||||||
response = self.misp_modules_post(query)
|
response = self.misp_modules_post(query)
|
||||||
try:
|
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:
|
except Exception:
|
||||||
self.assertEqual(self.get_errors(response), "No data found by querying known RBLs")
|
self.assertEqual(self.get_errors(response), "No data found by querying known RBLs")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue