mirror of
https://github.com/azaion/detections.git
synced 2026-06-21 11:41:08 +00:00
Fixed tests
This commit is contained in:
@@ -59,7 +59,7 @@ def test_ft_p09_sse_event_delivery(
|
||||
data = json.loads(event.data)
|
||||
collected.append(data)
|
||||
first_event.set()
|
||||
if len(collected) >= 5:
|
||||
if data.get("mediaStatus") in ("AIProcessed", "Error"):
|
||||
break
|
||||
except BaseException as e:
|
||||
thread_exc.append(e)
|
||||
|
||||
Reference in New Issue
Block a user