diff --git a/tests/test_substitutions_mappings.py b/tests/test_substitutions_mappings.py index ee4d3882..db3ba714 100644 --- a/tests/test_substitutions_mappings.py +++ b/tests/test_substitutions_mappings.py @@ -504,7 +504,7 @@ def test_substitution_plan(): } -ensemble = """ +attribute_access_ensemble = """ apiVersion: unfurl/v1alpha1 kind: Ensemble spec: @@ -545,7 +545,7 @@ def test_substitution_plan(): eval: ::containerhost::user_data::DB_HOST """ -nested_node_import = """ +attribute_access_import = """ node_types: DBHost: derived_from: tosca.nodes.Root @@ -631,10 +631,10 @@ def test_attribute_access(): env=dict(UNFURL_HOME=""), ) with open("ensemble-template.yaml", "w") as f: - f.write(ensemble) + f.write(attribute_access_ensemble) with open("nested1.yaml", "w") as f: - f.write(nested_node_import) + f.write(attribute_access_import) manifest = YamlManifest(localEnv=LocalEnv(".", homePath="./unfurl_home")) result, job, summary = run_job_cmd(cli_runner, print_result=True) diff --git a/unfurl/__init__.py b/unfurl/__init__.py index 74d7d761..2057124c 100644 --- a/unfurl/__init__.py +++ b/unfurl/__init__.py @@ -58,8 +58,6 @@ def is_version_unreleased(v: Union[None, str] = None) -> bool: ] __safe__ = _tosca_types -__all__ = [] - def __getattr__(name): if name in _tosca_types: from .tosca_plugins import tosca_ext