diff --git a/core/dbt/parser/schema_generic_tests.py b/core/dbt/parser/schema_generic_tests.py index 1200d2c6723..ccd9657f07e 100644 --- a/core/dbt/parser/schema_generic_tests.py +++ b/core/dbt/parser/schema_generic_tests.py @@ -134,7 +134,7 @@ def get_hashable_md(data: Union[str, int, float, List, Dict]) -> Union[str, List "column_name": column_name, "checksum": FileHash.empty().to_dict(omit_none=True), "file_key_name": file_key_name, - "meta": target.config.get('meta', {}) if hasattr(target, 'config') else {}, + "meta": target.config.get("meta", {}) if hasattr(target, "config") else {}, } try: GenericTestNode.validate(dct) diff --git a/tests/functional/artifacts/expected_manifest.py b/tests/functional/artifacts/expected_manifest.py index 749a5b77619..b8786584b43 100644 --- a/tests/functional/artifacts/expected_manifest.py +++ b/tests/functional/artifacts/expected_manifest.py @@ -1760,7 +1760,7 @@ def expected_versions_manifest(project): "schema": test_audit_schema, "database": project.database, "tags": [], - "meta": {}, + "meta": {"size": "large", "color": "blue"}, "unique_id": "test.test.unique_versioned_model_v1_first_name.6138195dec", "docs": {"node_color": None, "show": True}, "compiled": True, @@ -1813,7 +1813,7 @@ def expected_versions_manifest(project): "schema": test_audit_schema, "database": project.database, "tags": [], - "meta": {}, + "meta": {"color": "blue", "size": "large"}, "unique_id": "test.test.unique_versioned_model_v1_count.0b4c0b688a", "docs": {"node_color": None, "show": True}, "compiled": True, @@ -1866,7 +1866,7 @@ def expected_versions_manifest(project): "schema": test_audit_schema, "database": project.database, "tags": [], - "meta": {}, + "meta": {"color": "blue", "size": "large"}, "unique_id": "test.test.unique_versioned_model_v2_first_name.998430d28e", "docs": {"node_color": None, "show": True}, "compiled": True,