mirror of https://github.com/MISP/PyMISP
fix: Update testlive accordingly
parent
03ebbbedce
commit
35ae9e00dd
|
@ -2679,9 +2679,10 @@ class TestComprehensive(unittest.TestCase):
|
|||
# The event report should be requestable by the Event ID
|
||||
self.assertEqual(new_event_report.id, event_reports[0].id)
|
||||
|
||||
new_event_report = self.user_misp_connector.delete_event_report(new_event_report)
|
||||
response = self.user_misp_connector.delete_event_report(new_event_report)
|
||||
# The event report should be soft-deletable
|
||||
self.assertTrue(new_event_report.deleted)
|
||||
self.assertTrue(response['success'])
|
||||
self.assertEqual(response['name'], f'Event Report {new_event_report.uuid} soft deleted')
|
||||
|
||||
response = self.user_misp_connector.delete_event_report(new_event_report, True)
|
||||
self.assertTrue(response['success'])
|
||||
|
@ -2689,7 +2690,6 @@ class TestComprehensive(unittest.TestCase):
|
|||
self.user_misp_connector.delete_event(event)
|
||||
self.user_misp_connector.delete_event_report(new_event_report)
|
||||
|
||||
|
||||
@unittest.skip("Internal use only")
|
||||
def missing_methods(self):
|
||||
skip = [
|
||||
|
|
Loading…
Reference in New Issue