testing8
iglocska 2024-09-05 10:42:35 +02:00
parent 38961baf36
commit c2ffb5c001
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 2 additions and 1 deletions

View File

@ -1184,8 +1184,9 @@ class TestComprehensive(unittest.TestCase):
first = self.user_misp_connector.update_event(first)
time.sleep(5)
csv = self.user_misp_connector.search(return_format='csv', publish_timestamp=first.timestamp.timestamp())
self.assertEqual(len(csv), 1)
print('HERE!!!!')
print(self.user_misp_connector.direct_call('jobs/index'))
self.assertEqual(len(csv), 1)
self.assertEqual(csv[0]['value'], first.attributes[0].value)
# eventid