Skip to content

Commit

Permalink
Rewrite return logic to retrigger build (#194)
Browse files Browse the repository at this point in the history
* Rewrite return

* Remove list comprehension
  • Loading branch information
andrejvelichkovski committed Jul 29, 2024
1 parent 07cadbb commit 5309e98
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5309e98

Please sign in to comment.