|
| 1 | +"""CLI tests for tmuxp shell.""" |
1 | 2 | import contextlib |
2 | 3 | import io |
3 | 4 | import pathlib |
@@ -116,6 +117,7 @@ def test_shell( |
116 | 117 | monkeypatch: pytest.MonkeyPatch, |
117 | 118 | capsys: pytest.CaptureFixture[str], |
118 | 119 | ) -> None: |
| 120 | + """CLI tests for tmuxp shell.""" |
119 | 121 | monkeypatch.setenv("HOME", str(tmp_path)) |
120 | 122 | window_name = "my_window" |
121 | 123 | window = session.new_window(window_name=window_name) |
@@ -207,6 +209,7 @@ def test_shell_target_missing( |
207 | 209 | monkeypatch: pytest.MonkeyPatch, |
208 | 210 | capsys: pytest.CaptureFixture[str], |
209 | 211 | ) -> None: |
| 212 | + """CLI tests for tmuxp shell when target is not specified.""" |
210 | 213 | monkeypatch.setenv("HOME", str(tmp_path)) |
211 | 214 | window_name = "my_window" |
212 | 215 | window = session.new_window(window_name=window_name) |
@@ -283,6 +286,7 @@ def test_shell_interactive( |
283 | 286 | monkeypatch: pytest.MonkeyPatch, |
284 | 287 | capsys: pytest.CaptureFixture[str], |
285 | 288 | ) -> None: |
| 289 | + """CLI tests for tmuxp shell when shell is specified.""" |
286 | 290 | monkeypatch.setenv("HOME", str(tmp_path)) |
287 | 291 | window_name = "my_window" |
288 | 292 | window = session.new_window(window_name=window_name) |
|
0 commit comments