diff options
author | Tim Jenssen <tim.jenssen@qt.io> | 2022-04-14 10:15:38 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2022-04-14 11:31:03 +0000 |
commit | 1c901e7230f0ec2803830eb1e166fa3804d7b0de (patch) | |
tree | d8cefda85198631a7c973204bf99402dc26af713 /packaging-tools/test_runCommand.py | |
parent | 74d50971edf7cc4756295eb9daf713159e7b0a39 (diff) |
fix init_environment -> extra_environment
The name was wrong and it was always used as a dict
with extra environment keys/variables.
Not sure why the before python3 refactor code worked,
but this brings back the old behavior that these extra
variables are overwritting exsting ones.
Change-Id: I780cf477995f613e94c6c21116460f58af859972
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Patrik Teivonen <patrik.teivonen@qt.io>
Diffstat (limited to 'packaging-tools/test_runCommand.py')
-rw-r--r-- | packaging-tools/test_runCommand.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging-tools/test_runCommand.py b/packaging-tools/test_runCommand.py index ede541498..7173177e9 100644 --- a/packaging-tools/test_runCommand.py +++ b/packaging-tools/test_runCommand.py @@ -94,7 +94,7 @@ class TestRunCommand(unittest.TestCase): crashedExitCode = useRunCommand("--printLines 10 --crash", os.getcwd(), #callerArguments= None, - #init_environment= + #extra_environment= None, #onlyErrorCaseOutput= True, @@ -113,7 +113,7 @@ class TestRunCommand(unittest.TestCase): self.assertEqual(useRunCommand("--printLines 10 --exitCode 5", os.getcwd(), #callerArguments= None, - #init_environment= + #extra_environment= None, #onlyErrorCaseOutput= True, |