chg: [tests] added sleep to publishing

pull/8530/head
iglocska 2022-08-05 14:48:28 +02:00
parent b5596f687f
commit b5ababdc15
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 0 deletions

View File

@ -1253,6 +1253,7 @@ class TestSecurity(unittest.TestCase):
# Publish
self.assertSuccessfulResponse(self.admin_misp_connector.publish(created_event))
sleep(6);
# Event is published, so normal user should see that event
self.assertTrue(logged_in.event_exists(created_event.uuid))