Skip to content

Commit 0139018

Browse files
committed
tests/workspace/builder(test[pane-readiness]): Add window_shell readiness skip coverage
why: The window_config.get("window_shell") fallback path at builder.py:566 was untested. Only pane-level shell: had fixture coverage. what: - Add skips_all_panes_with_window_shell fixture to PANE_READINESS_FIXTURES - Verifies expected_wait_count=0 when window_shell is set
1 parent f669002 commit 0139018

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/workspace/test_builder.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,20 @@ class PaneReadinessFixture(t.NamedTuple):
15871587
),
15881588
expected_wait_count=1,
15891589
),
1590+
PaneReadinessFixture(
1591+
test_id="skips_all_panes_with_window_shell",
1592+
yaml=textwrap.dedent(
1593+
"""\
1594+
session_name: readiness-test
1595+
windows:
1596+
- window_shell: top
1597+
panes:
1598+
- shell_command: []
1599+
- shell_command: []
1600+
""",
1601+
),
1602+
expected_wait_count=0,
1603+
),
15901604
]
15911605

15921606

0 commit comments

Comments
 (0)