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

Method test_pre_load_state_data

test/test_terraform.py:297–300  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295 assert tf.tfstate.modules[0]["path"] == ["default_backend"]
296
297 def test_pre_load_state_data(self):
298 cwd = os.path.join(current_path, "test_tfstate_file")
299 tf = Terraform(working_dir=cwd, state="tfstate.test")
300 assert tf.tfstate.modules[0]["path"] == ["root"]
301
302 @pytest.mark.parametrize(
303 ("folder", "variables"), [("var_to_output", {"test_var": "test"})]

Callers

nothing calls this directly

Calls 1

TerraformClass · 0.90

Tested by

no test coverage detected