Skip to content

Commit 95cd853

Browse files
committed
fix(python[pytest]) use hints-only refresh in control mode
why: Control-mode refresh hints should not trigger background view capture during tests. what: - Subscribe with capture_view=false for rust control-mode test server
1 parent 9833b91 commit 95cd853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libtmux/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def server(
161161
else server.socket_path
162162
)
163163
rust_server = _rust_server(server.socket_name, socket_path, server.colors)
164-
rust_refresh = rust_server.subscribe(10)
164+
rust_refresh = rust_server.subscribe(10, capture_view=False)
165165
setattr(server, "_rust_refresh", rust_refresh)
166166

167167
def fin() -> None:

0 commit comments

Comments
 (0)