1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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}'},
|