Skip to content

Commit

Permalink
chore:test
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
  • Loading branch information
sxd committed Jan 30, 2023
1 parent 31440bd commit e465083
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions summarize_test_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def format_by_test(summary, structure, file_out=None):
"""print metrics bucketed by test class"""
title = structure["title"]
anchor = structure["anchor"]
print(f"\n<h2 id={anchor}><a name={anchor}>{title}</a></h2>\n", file=file_out)
print(f"\n<h2 id={anchor}><a class=doctocat-link name={anchor}>{title}</a></h2>\n", file=file_out)

table = PrettyTable(align="l")
table.field_names = structure["header"]
Expand Down Expand Up @@ -477,7 +477,7 @@ def format_by_code(summary, structure, file_out=None):
"""print metrics bucketed by failing code"""
title = structure["title"]
anchor = structure["anchor"]
print(f"\n<h2 id={anchor}><a name={anchor}>{title}</a></h2>\n", file=file_out)
print(f"\n<h2 id={anchor}><a class=doctocat-link name={anchor}>{title}</a></h2>\n", file=file_out)

table = PrettyTable(align="l")
table.field_names = structure["header"]
Expand Down Expand Up @@ -518,7 +518,7 @@ def format_durations_table(test_times, structure, file_out=None):
"""print the table of durations per test"""
title = structure["title"]
anchor = structure["anchor"]
print(f"\n<h2 id={anchor}><a name={anchor}>{title}</a></h2>\n", file=file_out)
print(f"\n<h2 id={anchor}><a class=doctocat-link name={anchor}>{title}</a></h2>\n", file=file_out)

table = PrettyTable(align="l", max_width=80)
table.set_style(MARKDOWN)
Expand All @@ -541,7 +541,7 @@ def format_suite_durations_table(suite_times, structure, file_out=None):
"""print the table of durations for the whole suite, per platform"""
title = structure["title"]
anchor = structure["anchor"]
print(f"\n<h2 id={anchor}><a name={anchor}>{title}</a></h2>\n", file=file_out)
print(f"\n<h2 id={anchor}><a class=doctocat-link name={anchor}>{title}</a></h2>\n", file=file_out)

table = PrettyTable(align="l", max_width=80)
table.set_style(MARKDOWN)
Expand Down

0 comments on commit e465083

Please # to comment.