fix: [publish test] invalid path for the publishing outcome in the response

pull/1251/head
iglocska 2024-07-03 12:13:33 +02:00
parent 933e7afa7b
commit 884639f526
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -868,7 +868,7 @@ class TestComprehensive(unittest.TestCase):
bg_processing_state = self.admin_misp_connector.get_server_setting('MISP.background_jobs')['value']
self.admin_misp_connector.set_server_setting('MISP.background_processing', False, force=True)
publish_result = self.admin_misp_connector.publish(second)
self.assertEqual(publish_result, True)
self.assertEqual(publish_result["success"], True)
second = self.admin_misp_connector.get_event(second, pythonify=True)
# check if the publishing succeeded
self.assertEqual(second.published, True)