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

Method test_state_default_backend

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

Source from the content-addressed store, hash-verified

289 assert tf.tfstate.modules[0]["path"] == ["default"]
290
291 def test_state_default_backend(self):
292 cwd = os.path.join(current_path, "test_tfstate_file3")
293 tf = Terraform(working_dir=cwd)
294 tf.read_state_file()
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")

Callers

nothing calls this directly

Calls 2

read_state_fileMethod · 0.95
TerraformClass · 0.90

Tested by

no test coverage detected