From 44fd8b5c2622f7f53c9ca32d3144257a1eb8ab9c Mon Sep 17 00:00:00 2001 From: Yannick Jadoul Date: Sun, 19 Jul 2020 17:19:48 +0200 Subject: [PATCH] Fix test to demonstrate failure --- unit_test/environment_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unit_test/environment_test.py b/unit_test/environment_test.py index 0827cc0d..ab690a84 100644 --- a/unit_test/environment_test.py +++ b/unit_test/environment_test.py @@ -40,7 +40,7 @@ def test_inheritance(): def test_shell_eval(): - environment_recipe = parse_environment('VAR="$(echo "a test" string)"') + environment_recipe = parse_environment('VAR="$(echo "a test" string)"') env_copy = os.environ.copy() env_copy.pop('VAR', None) @@ -50,8 +50,8 @@ def test_shell_eval(): ) environment_cmds = environment_recipe.as_shell_commands() - assert environment_dict['VAR'] == 'a test string' - assert environment_cmds == ['export VAR="$(echo "a test" string)"'] + assert environment_dict['VAR'] == 'a test string' + assert environment_cmds == ['export VAR="$(echo "a test" string)"'] def test_shell_eval_and_env():