From 412ea860f89106f91378ff4fbb28053daec055c4 Mon Sep 17 00:00:00 2001 From: bom Date: Wed, 12 Jan 2022 10:34:35 +0100 Subject: [PATCH] updated tests with global_opts --- test/test_terraform.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_terraform.py b/test/test_terraform.py index c2052a9..91f5bc4 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -22,17 +22,17 @@ version = 1.0 if (os.environ.get("TFVER") and os.environ.get("TFVER").startswith FILE_PATH_WITH_SPACE_AND_SPACIAL_CHARS = "test 'test.out!" STRING_CASES = [ [ - lambda x: x.generate_cmd_string("apply", "the_folder", no_color=IsFlagged), + lambda x: x.generate_cmd_string({}, "apply", "the_folder", no_color=IsFlagged), "terraform apply -no-color the_folder", ], [ - lambda x: x.generate_cmd_string( + lambda x: x.generate_cmd_string({}, "push", "path", vcs=True, token="token", atlas_address="url" ), "terraform push -vcs=true -token=token -atlas-address=url path", ], [ - lambda x: x.generate_cmd_string( + lambda x: x.generate_cmd_string({}, "refresh", "path", token="token" ), "terraform refresh -token=token path",