Skip to content

Commit

Permalink
Added new Act and Assert comments for new test
Browse files Browse the repository at this point in the history
  • Loading branch information
myheroyuki committed Aug 19, 2022
1 parent f75f6ad commit d4867a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_prettytable.py
Expand Up @@ -1735,7 +1735,11 @@ def test_paginate():
assert paginated.startswith(expected_page_1)
assert "\f" in paginated
assert paginated.endswith(expected_page_2)

# Act
paginated = t.paginate(page_length=4, line_break="\n")

# Assert
assert "\f" not in paginated
assert "\n" in paginated

Expand Down

0 comments on commit d4867a2

Please sign in to comment.