Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): explicitly state the shell to use #844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions tests/workspace/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command: echo "___$((1 + 3))___"
Expand All @@ -893,6 +895,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -907,6 +911,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command: echo "___$((1 + 3))___"
Expand All @@ -919,6 +925,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -932,6 +940,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -946,6 +956,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -960,6 +972,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command: echo "___$((1 + 3))___"
Expand All @@ -972,6 +986,8 @@ def test_find_current_active_pane(server, monkeypatch):
textwrap.dedent(
"""
session_name: Should execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand Down Expand Up @@ -1033,6 +1049,8 @@ def fn():
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -1049,6 +1067,8 @@ def fn():
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -1065,6 +1085,8 @@ def fn():
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -1079,6 +1101,8 @@ def fn():
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
windows:
- panes:
- shell_command:
Expand All @@ -1093,6 +1117,8 @@ def fn():
textwrap.dedent(
"""
session_name: Should not execute
options:
default-shell: /bin/bash
shell_command_before:
- cmd: echo "sleeping before"
sleep_before: .5
Expand Down