Update tests

pull/1252/head
Raphaël Vinot 2024-07-06 13:29:31 +02:00
parent 3a9f584176
commit 9ba04ee021
1 changed files with 2 additions and 3 deletions

View File

@ -36,8 +36,8 @@ try:
verifycert = False
except ImportError as e:
print(e)
url = 'https://localhost:8443'
key = 'sL9hrjIyY405RyGQHLx5DoCAM92BNmmGa8P4ck1E'
url = 'https://10.197.206.83'
key = 'OdzzuBSnH83tEjvZbf7SFejC1kC3gS11Cnj2wxLk'
verifycert = False
logging.disable(logging.CRITICAL)
@ -864,7 +864,6 @@ class TestComprehensive(unittest.TestCase):
events = self.user_misp_connector.search(timestamp=timeframe, published=False)
self.assertEqual(len(events), 2)
# check publish & search
bg_processing_state = self.admin_misp_connector.get_server_setting('MISP.background_jobs')['value']
self.admin_misp_connector.set_server_setting('MISP.background_jobs', False, force=True)
publish_result = self.admin_misp_connector.publish(second)