File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change
1
+ """Tests for libtmux object model, querying and traversal, etc."""
1
2
import pathlib
2
3
import typing as t
3
4
@@ -27,6 +28,7 @@ def test_pane(
27
28
tmp_path : pathlib .Path ,
28
29
server : Server ,
29
30
) -> None :
31
+ """Verify Pane dataclass object."""
30
32
monkeypatch .chdir (tmp_path )
31
33
32
34
try :
@@ -133,6 +135,7 @@ def test_pane(
133
135
134
136
@pytest .fixture
135
137
def session (session : Session ) -> Session :
138
+ """Verify creating Session with Session.from_session_id()."""
136
139
assert session .session_id is not None
137
140
return Session .from_session_id (server = session .server , session_id = session .session_id )
138
141
@@ -142,6 +145,7 @@ def test_querylist(
142
145
tmp_path : pathlib .Path ,
143
146
session : Session ,
144
147
) -> None :
148
+ """Verify QueryList behavior with libtmux object."""
145
149
monkeypatch .chdir (tmp_path )
146
150
147
151
session .new_window (window_name = "test_2" )
You can’t perform that action at this time.
0 commit comments