chg: [tests:eventreport] Unused variable

test-event-report
mokaddem 2020-09-22 10:04:51 +02:00
parent a00368c787
commit 02abe5315a
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class TestEventReportComprehensive(unittest.TestCase):
addedReport = self.add_report(self.testReport, self.user_misp_connector)
self.assertIn('errors', addedReport, msg="This user should not be able to add a report to an event he does not own")
addedReport = self.add_report(self.testReport)
editedReport, returnedReport = self.edit_report(addedReport, self.user_misp_connector)
_, returnedReport = self.edit_report(addedReport, self.user_misp_connector)
self.assertIn('errors', returnedReport, msg="This user should not be able to edit a report he does not own")
deletedReport = self.soft_delete_report(addedReport, self.user_misp_connector)
self.assertIn('errors', deletedReport, msg="This user should not be able to delete a report he does not own")