chg: [publish tests] further debugging

pull/1251/head
iglocska 2024-07-03 11:35:17 +02:00
parent c132c7198c
commit 933e7afa7b
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 1 deletions

View File

@ -867,7 +867,8 @@ 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)
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)