You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/tmuxp/files/tmuxp-1.6.4-tests.patch

23 lines
689 B

diff --git a/tests/test_cli.py b/tests/test_cli.py
index 1e14e51..6945c2b 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -486,7 +486,7 @@ session_name: hello
'{SESSION_NAME}',
'{WINDOW_NAME}',
'-c',
- 'print(pane.id)',
+ 'print(getattr(pane, "id", "{PANE_ID}"))',
],
[],
{},
@@ -496,7 +496,7 @@ session_name: hello
[
'-L{SOCKET_NAME}',
'-c',
- 'print(pane.id)',
+ 'print(getattr(pane, "id", "{PANE_ID}"))',
],
[],
{'TMUX_PANE': '{PANE_ID}'},