Fix bug in QSS notifications
This commit is contained in:
parent
850c32ebfb
commit
48db77b521
2 changed files with 13 additions and 5 deletions
|
@ -355,6 +355,7 @@ class TestSecurityScanner(unittest.TestCase):
|
|||
event = VulnerabilityFoundEvent()
|
||||
msg = '1 Low and 1 more vulnerabilities were detected in repository devtable/simple in 2 tags'
|
||||
self.assertEquals(msg, event.get_summary(body['event_data'], {}))
|
||||
self.assertEquals('info', event.get_level(body['event_data'], {}))
|
||||
else:
|
||||
self.assertIsNone(queue_item)
|
||||
|
||||
|
|
Reference in a new issue