diff --git a/backend/test_observer/controllers/test_executions/status_update.py b/backend/test_observer/controllers/test_executions/status_update.py index 25324594..96e44bd3 100644 --- a/backend/test_observer/controllers/test_executions/status_update.py +++ b/backend/test_observer/controllers/test_executions/status_update.py @@ -77,8 +77,4 @@ def get_status_update(id: int, db: Session = Depends(get_db)): if test_execution is None: raise HTTPException(status_code=404, detail="TestExecution not found") - test_events = [] - for test_event in test_execution.test_events: - test_events.append(test_event) - - return test_events + return test_execution.test_events