Method
test_generate_cmd_string
(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
Tested by
no test coverage detected