Skip to content

Commit

Permalink
test: Rename test for show_window_options()
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Feb 6, 2024
1 parent 24462bd commit 5550f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/legacy_api/test_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_show_window_options(session: Session) -> None:
assert isinstance(options, dict)


def test_set_show_window_options(session: Session) -> None:
def test_set_window_and_show_window_options(session: Session) -> None:
"""Set option then Window.show_window_options(key)."""
window = session.new_window(window_name="test_window")

Expand Down
4 changes: 2 additions & 2 deletions tests/test_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ def test_show_window_options(session: Session) -> None:
assert isinstance(options, dict)


def test_set_show_window_options(session: Session) -> None:
"""Set option then Window.show_window_options(key)."""
def test_set_window_and_show_window_options(session: Session) -> None:
"""Window.set_window_option() then Window.show_window_options(key)."""
window = session.new_window(window_name="test_window")

window.set_window_option("main-pane-height", 20)
Expand Down

0 comments on commit 5550f06

Please sign in to comment.