Skip to content

Commit

Permalink
fix: [publish test] invalid path for the publishing outcome in the re…
Browse files Browse the repository at this point in the history
…sponse
  • Loading branch information
iglocska committed Jul 3, 2024
1 parent 933e7af commit 884639f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ def test_simple_event(self) -> None:
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)
Expand Down

0 comments on commit 884639f

Please sign in to comment.