Skip to content
Closed
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
16 changes: 6 additions & 10 deletions libs/executors/tests/end-to-end/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import json
import pathlib
import shlex
import subprocess
import sys

Expand Down Expand Up @@ -99,8 +100,7 @@ def test_fake_source_from_console(self, command):
'--loglevel ERROR'
)
result = subprocess.run(
command,
shell=True,
shlex.split(command),
check=False,
capture_output=True,
text=True,
Expand All @@ -123,8 +123,7 @@ def test_fake_source_from_file(self, tmp_path, command):
'--loglevel ERROR'
)
result = subprocess.run(
command,
shell=True,
shlex.split(command),
check=False,
capture_output=True,
text=True,
Expand All @@ -146,8 +145,7 @@ def test_fake_source_from_config(self, tmp_path, command):
'--loglevel ERROR'
)
result = subprocess.run(
command,
shell=True,
shlex.split(command),
check=False,
capture_output=True,
text=True,
Expand All @@ -162,8 +160,7 @@ def test_fake_source_from_workflow(self, command):
workflow_path = _SCRIPT_PATH / 'test_workflow.yaml'
command = f'{command} {str(workflow_path)} --loglevel ERROR'
result = subprocess.run(
command,
shell=True,
shlex.split(command),
check=False,
capture_output=True,
text=True,
Expand All @@ -183,8 +180,7 @@ def test_fake_source_from_workflow_with_config(self, command, tmp_path):
f'{command} {str(workflow_path)} --loglevel ERROR -c {str(tmp_config)}'
)
result = subprocess.run(
command,
shell=True,
shlex.split(command),
check=False,
capture_output=True,
text=True,
Expand Down