Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
danmyway committed Mar 26, 2024
2 parents 42dbaad + 88cea34 commit d046799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tesar/report/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ def parse_request_xunit(request_url_list=None, tasks_source=None, skip_pass=Fals
request_arch = request.json()["environments_requested"][0]["arch"]
request_datetime_created = request.json()["created"]
request_datetime_parsed = request_datetime_created.split(".")[0]
request_summary = request.json()["result"]["summary"]
request_result_overall = request.json()["result"]["overall"]

log_dir = f"{request_uuid}_logs"

Expand Down Expand Up @@ -176,6 +174,8 @@ def parse_request_xunit(request_url_list=None, tasks_source=None, skip_pass=Fals
continue

if request.json()["state"] == "error":
request_summary = request.json()["result"]["summary"]
request_result_overall = request.json()["result"]["overall"]
error_formatted = FormatText.bg_red + "ERROR" + FormatText.bg_default
error_reason = request_summary
message = (
Expand Down

0 comments on commit d046799

Please sign in to comment.