Skip to content

Commit

Permalink
feat(anta.cli): Show lines between table rows for readability (#455)
Browse files Browse the repository at this point in the history
show_lines set to True to show lines between table rows for readability

Co-authored-by: paullavelle <root@plavelle-ubuntu.zdtlf2rckcgejchrwa3ipmwltc.ex.internal.cloudapp.net>
  • Loading branch information
paullavelle and paullavelle authored Nov 16, 2023
1 parent 454a366 commit bbc384b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions anta/reporter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def report_all(
Returns:
Table: A fully populated rich Table
"""
table = Table(title=title)
table = Table(title=title, show_lines=True)
headers = ["Device", "Test Name", "Test Status", "Message(s)", "Test description", "Test category"]
table = self._build_headers(headers=headers, table=table)

Expand Down Expand Up @@ -127,7 +127,7 @@ def report_summary_tests(
Table: A fully populated rich Table
"""
# sourcery skip: class-extract-method
table = Table(title=title)
table = Table(title=title, show_lines=True)
headers = [
"Test Case",
"# of success",
Expand Down Expand Up @@ -174,7 +174,7 @@ def report_summary_hosts(
Returns:
Table: A fully populated rich Table
"""
table = Table(title=title)
table = Table(title=title, show_lines=True)
headers = [
"Device",
"# of success",
Expand Down

0 comments on commit bbc384b

Please sign in to comment.