Skip to content

Commit

Permalink
bot: report: fix table indent
Browse files Browse the repository at this point in the history
Fixes invalid table indent of table header
  • Loading branch information
piotrnarajowski committed Feb 4, 2025
1 parent 7ce8e07 commit ac80614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions autopts/bot/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,7 @@ def make_readme_md(self, readme_md_path, report_data):
PTS version: {report_data["pts_ver"]}
Test Group/Profile Summary:
{profile_summary}
Test Group/Profile Summary: {profile_summary}
Repositories:
Expand Down
2 changes: 1 addition & 1 deletion autopts/bot/common_features/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,6 @@ def ascii_profile_summary(tc_results):
for suite, stats in test_groups.items():
rows.append(
f"\n|{suite:<9}|{stats.total:<7}|{stats.passed:<6}|{stats.failed:<6}|{stats.pass_rate:>7.2f} % |")
table = f"{header}\n{separator}" + "".join(rows)
table = f"\n{header}\n{separator}" + "".join(rows)

return table

0 comments on commit ac80614

Please sign in to comment.