mirror of https://github.com/MISP/misp-modules
fix: [test] Properly fail with error message
parent
79b700b2f5
commit
3bc58709e1
|
@ -183,7 +183,7 @@ class TestExpansions(unittest.TestCase):
|
|||
try:
|
||||
self.assertEqual(self.get_object(response), 'vulnerability')
|
||||
except Exception:
|
||||
print(self.get_errors(response))
|
||||
self.fail(self.get_errors(response))
|
||||
|
||||
def test_dbl_spamhaus(self):
|
||||
query = {"module": "dbl_spamhaus", "domain": "totalmateria.net"}
|
||||
|
|
Loading…
Reference in New Issue