Skip to content

Commit cef39e7

Browse files
committed
Remove not needed two backslahes
They are not needed at all Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 7b2e05b commit cef39e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/test_container_application.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_application(self, build_s2i_app, container_args):
4444
)
4545
assert ContainerImage.wait_for_cid(cid_file_name=cid_file_name)
4646
python_version = PodmanCLIWrapper.podman_run_command_and_remove(
47-
cid_file_name=VARS.IMAGE_NAME, cmd="echo \\$PYTHON_VERSION"
47+
cid_file_name=VARS.IMAGE_NAME, cmd="echo $PYTHON_VERSION"
4848
).strip()
4949
python_version_output = PodmanCLIWrapper.podman_run_command_and_remove(
5050
cid_file_name=VARS.IMAGE_NAME, cmd="python --version"
@@ -102,10 +102,10 @@ def test_unstable_test(self, unstable_app):
102102
cid_file_name=cid_file_name,
103103
container_args=s2i_app_unstable,
104104
)
105-
assert ContainerImage.wait_for_cid(cid_file_name=cid_file_name)
106105
python_version = PodmanCLIWrapper.podman_run_command_and_remove(
107-
cid_file_name=VARS.IMAGE_NAME, cmd="echo \\$PYTHON_VERSION"
106+
cid_file_name=VARS.IMAGE_NAME, cmd="echo $PYTHON_VERSION"
108107
).strip()
108+
assert ContainerImage.wait_for_cid(cid_file_name=cid_file_name)
109109
python_version_output = PodmanCLIWrapper.podman_run_command_and_remove(
110110
cid_file_name=VARS.IMAGE_NAME, cmd="python --version"
111111
)

test/test_container_basics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_scl_usage(self):
4848
Test if python --version returns proper output
4949
"""
5050
python_version = PodmanCLIWrapper.podman_run_command_and_remove(
51-
cid_file_name=VARS.IMAGE_NAME, cmd="echo \\$PYTHON_VERSION"
51+
cid_file_name=VARS.IMAGE_NAME, cmd="echo $PYTHON_VERSION"
5252
).strip()
5353
python_version_output = PodmanCLIWrapper.podman_run_command_and_remove(
5454
cid_file_name=VARS.IMAGE_NAME, cmd="python --version"

0 commit comments

Comments
 (0)