Skip to content

Commit 0cee00f

Browse files
committed
test !wip
1 parent 4620538 commit 0cee00f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/test_workspacebuilder.py

+15
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,20 @@ def test_load_workspace_enter(
989989
- shell_command:
990990
- echo "___$((1 + 3))___"
991991
sleep: 2
992+
"""
993+
),
994+
"___4___",
995+
],
996+
[
997+
textwrap.dedent(
998+
"""
999+
session_name: Should not execute
1000+
shell_command_before:
1001+
- shell_command: echo "___$((1 + 3))___"
1002+
sleep: 2
1003+
windows:
1004+
- panes:
1005+
- echo "command"
9921006
"""
9931007
),
9941008
"___4___",
@@ -997,6 +1011,7 @@ def test_load_workspace_enter(
9971011
ids=[
9981012
"pane_sleep_3_shortform",
9991013
"pane_sleep_3_longform",
1014+
"shell_command_before_sleep_3_shortform",
10001015
],
10011016
)
10021017
def test_load_workspace_sleep(

0 commit comments

Comments
 (0)