mirror of https://github.com/MISP/PyMISP
Update tests
parent
3a9f584176
commit
9ba04ee021
|
@ -36,8 +36,8 @@ try:
|
||||||
verifycert = False
|
verifycert = False
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
print(e)
|
print(e)
|
||||||
url = 'https://localhost:8443'
|
url = 'https://10.197.206.83'
|
||||||
key = 'sL9hrjIyY405RyGQHLx5DoCAM92BNmmGa8P4ck1E'
|
key = 'OdzzuBSnH83tEjvZbf7SFejC1kC3gS11Cnj2wxLk'
|
||||||
verifycert = False
|
verifycert = False
|
||||||
|
|
||||||
logging.disable(logging.CRITICAL)
|
logging.disable(logging.CRITICAL)
|
||||||
|
@ -864,7 +864,6 @@ class TestComprehensive(unittest.TestCase):
|
||||||
events = self.user_misp_connector.search(timestamp=timeframe, published=False)
|
events = self.user_misp_connector.search(timestamp=timeframe, published=False)
|
||||||
self.assertEqual(len(events), 2)
|
self.assertEqual(len(events), 2)
|
||||||
# check publish & search
|
# check publish & search
|
||||||
|
|
||||||
bg_processing_state = self.admin_misp_connector.get_server_setting('MISP.background_jobs')['value']
|
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)
|
self.admin_misp_connector.set_server_setting('MISP.background_jobs', False, force=True)
|
||||||
publish_result = self.admin_misp_connector.publish(second)
|
publish_result = self.admin_misp_connector.publish(second)
|
||||||
|
|
Loading…
Reference in New Issue