infrahouse_toolkit.cli.tests package

Submodules

infrahouse_toolkit.cli.tests.conftest module

Fixtures.

infrahouse_toolkit.cli.tests.conftest.terraform_tf(tmp_path)[source]

Return a temporary path with a Terraform backend configuration.

Parameters:

tmp_path (pathlib.Path) – pytest’s tmp_path fixture.

Returns:

A temporary file with the Terraform backend configuration.

infrahouse_toolkit.cli.tests.test_get_bucket module

Unit tests for infrahouse_toolkit.cli.lib.get_bucket().

infrahouse_toolkit.cli.tests.test_get_bucket.test_get_bucket(terraform_tf)[source]

Check that infrahouse_toolkit.cli.lib.get_bucket() can parse a valid terraform.tf.

Module contents