MCPcopy Create free account
hub / github.com/beelit94/python-terraform / test_generate_cmd_string

Method test_generate_cmd_string

test/test_terraform.py:173–179  ·  view source on GitHub ↗
(self, method: Callable[..., str], expected: str)

Source from the content-addressed store, hash-verified

171
172 @pytest.mark.parametrize(["method", "expected"], STRING_CASES)
173 def test_generate_cmd_string(self, method: Callable[..., str], expected: str):
174 tf = Terraform(working_dir=current_path)
175 result = method(tf)
176
177 strs = expected.split()
178 for s in strs:
179 assert s in result
180
181 @pytest.mark.parametrize(*CMD_CASES)
182 def test_cmd(

Callers

nothing calls this directly

Calls 1

TerraformClass · 0.90

Tested by

no test coverage detected