fix: Update testlive accordingly

pull/700/head
Raphaël Vinot 2021-01-28 15:01:54 +01:00
parent c5218c1ce2
commit 9b80325cc0
1 changed files with 3 additions and 3 deletions

View File

@ -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 = [