We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f0c6c commit 29dd144Copy full SHA for 29dd144
tests/test_workspacebuilder.py
@@ -1081,6 +1081,21 @@ def test_load_workspace_enter(
1081
- shell_command:
1082
- cmd: echo "___$((1 + 3))___"
1083
sleep_before: 2
1084
+ """
1085
+ ),
1086
+ 2,
1087
+ "___4___",
1088
+ ],
1089
+ [
1090
+ textwrap.dedent(
1091
1092
+session_name: Should not execute
1093
+shell_command_before:
1094
+ - cmd: echo "sleeping before"
1095
+ sleep_before: 2
1096
+windows:
1097
+- panes:
1098
+ - echo "___$((1 + 3))___"
1099
"""
1100
),
1101
2,
@@ -1092,6 +1107,7 @@ def test_load_workspace_enter(
1107
"command_level_pane_sleep_3_longform",
1108
"pane_sleep_2_shortform",
1109
"pane_sleep_2_longform",
1110
+ "shell_before_before_command_level",
1111
],
1112
)
1113
def test_load_workspace_sleep(
0 commit comments