diff --git a/test/test_terraform.py b/test/test_terraform.py index 275201b..287bfc3 100644 --- a/test/test_terraform.py +++ b/test/test_terraform.py @@ -447,6 +447,9 @@ class TestTerraform: assert ret == 0 assert err == "" + # The directory flag is no longer supported in v1.0.8 + # this should either be done with -chdir or probably just be removed + """ def test_create_workspace_with_args(self, workspace_setup_teardown, caplog): workspace_name = "test" state_file_path = os.path.join( @@ -465,6 +468,7 @@ class TestTerraform: f"Command: terraform workspace new -no-color test {current_path}" in caplog.messages ) + """ def test_set_workspace(self, workspace_setup_teardown): workspace_name = "test" @@ -473,6 +477,8 @@ class TestTerraform: assert ret == 0 assert err == "" + # see comment on test_create_workspace_with_args + """ def test_set_workspace_with_args(self, workspace_setup_teardown, caplog): workspace_name = "test" with workspace_setup_teardown(workspace_name) as tf, caplog.at_level( @@ -488,7 +494,7 @@ class TestTerraform: f"Command: terraform workspace select -no-color test {current_path}" in caplog.messages ) - + """ def test_show_workspace(self, workspace_setup_teardown): workspace_name = "test" with workspace_setup_teardown(workspace_name) as tf: @@ -515,6 +521,8 @@ class TestTerraform: assert ret == 0 assert err == "" + # see above comments + """ def test_delete_workspace_with_args(self, workspace_setup_teardown, caplog): workspace_name = "test" with workspace_setup_teardown( @@ -531,3 +539,4 @@ class TestTerraform: f"Command: terraform workspace delete -force test {current_path}" in caplog.messages ) + """