Skip to content

Commit

Permalink
fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
laura-l-amaral committed Oct 24, 2023
1 parent 0ea59d3 commit 7ce183f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/table_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def get_flow_status_logs(flow_run_id: str, backend: Backend, auth_token: str):
variables={"flow_run_id": flow_run_id},
headers={"Authorization": f"Bearer {auth_token}"},
)
message = response['log'][0]['message']
print(response)
message = response['log']['message']
result = {}
result['pass'] = int(re.findall("PASS=\d+", message)[0].split('=')[1])
result['skip'] = int(re.findall("SKIP=\d+", message)[0].split('=')[1])
Expand Down

0 comments on commit 7ce183f

Please sign in to comment.