Skip to content

Commit 066f0c1

Browse files
committed
!squash test options for Options.show_option
1 parent de1c519 commit 066f0c1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_options.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ def test_option_dataclass_fixture(
393393
TEST_FIXTURES,
394394
ids=[test.test_id for test in TEST_FIXTURES],
395395
)
396-
def test_options_pane_fixture(
396+
def test_show_option_pane_fixture(
397397
monkeypatch: pytest.MonkeyPatch,
398398
test_id: str,
399399
option_data: t.List[str],
@@ -409,4 +409,6 @@ def test_options_pane_fixture(
409409

410410
monkeypatch.setattr(pane, "cmd", fake_cmd(stdout=option_data))
411411

412-
assert TmuxArray(expected) in pane.show_option("terminal-features")
412+
assert pane.show_option(tmux_option) == expected
413+
for k, v in expected.items():
414+
assert pane.show_option(tmux_option)[k] == v

0 commit comments

Comments
 (0)