Skip to content

[New] OsOps::execute_command supports a transfer of environment variables (exec_env) #239

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

Merged
Merged
Changes from 1 commit
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
Prev Previous commit
TestOsOpsCommon is refactored (test env names)
  • Loading branch information
dmitry-lipetsk committed Apr 15, 2025
commit 117165f5c8b275057c3df857b6f23366a0c0eb39
4 changes: 2 additions & 2 deletions tests/test_os_ops_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_exec_command_with_exec_env(self, os_ops: OsOperations):

RunConditions.skip_if_windows()

C_ENV_NAME = "EXEC_TEST_TESTGRES_ENV_1975"
C_ENV_NAME = "TESTGRES_TEST__EXEC_ENV_20250414"

cmd = ["sh", "-c", "echo ${}".format(C_ENV_NAME)]

Expand Down Expand Up @@ -147,7 +147,7 @@ def test_exec_command__test_unset_dummy_var(self, os_ops: OsOperations):

RunConditions.skip_if_windows()

C_ENV_NAME = "IT_IS_A_TEST_DUMMY_VAR"
C_ENV_NAME = "TESTGRES_TEST__DUMMY_VAR_20250414"

cmd = ["sh", "-c", "echo ${}".format(C_ENV_NAME)]

Expand Down