Skip to content

Commit

Permalink
src/test_report: fix test report subject
Browse files Browse the repository at this point in the history
Fix test report email subject with f-strings.

Signed-off-by: Jeny Sadadia <jeny.sadadia@collabora.com>
  • Loading branch information
Jeny Sadadia authored and nuclearcat committed Jan 17, 2024
1 parent c1d8ffe commit 81b0430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def _get_report(self, root_node):
# TODO: Sanity-check all referenced values, handle corner cases
# properly
subject = (f"[STAGING] {revision['tree']}/{revision['branch']} "
"{revision.get('describe', '')}: "
"{stats['total']} runs {stats['failures']} failures")
f"{revision.get('describe', '')}: "
f"{stats['total']} runs {stats['failures']} failures")
content = template.render(
subject=subject, root=root_node, jobs=jobs
)
Expand Down

0 comments on commit 81b0430

Please sign in to comment.