mirror of https://github.com/MISP/PyMISP
fix: [publish test] invalid path for the publishing outcome in the response
parent
933e7afa7b
commit
884639f526
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue