Skip to content

Commit

Permalink
chg: [publish tests] further debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
iglocska committed Jul 3, 2024
1 parent c132c71 commit 933e7af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,8 @@ 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)
self.admin_misp_connector.publish(second)
publish_result = self.admin_misp_connector.publish(second)
self.assertEqual(publish_result, 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 933e7af

Please sign in to comment.