From e41bba083ed779b8f9d73fe964888d33242a72e1 Mon Sep 17 00:00:00 2001 From: Gerda Shank Date: Thu, 5 Dec 2024 14:50:23 -0500 Subject: [PATCH] Fix test --- tests/functional/data_test_patch/fixtures.py | 8 ++++---- .../data_test_patch/test_singular_test_patch.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/functional/data_test_patch/fixtures.py b/tests/functional/data_test_patch/fixtures.py index 75de8bf8891..5bac70969c5 100644 --- a/tests/functional/data_test_patch/fixtures.py +++ b/tests/functional/data_test_patch/fixtures.py @@ -13,8 +13,8 @@ description: "{{ doc('my_singular_test_documentation') }}" config: error_if: ">10" - meta: - some_key: some_val + meta: + some_key: some_val """ tests__schema_2_yml = """ @@ -23,8 +23,8 @@ description: "My singular test description" config: error_if: ">10" - meta: - some_key: another_val + meta: + some_key: another_val """ tests__doc_block_md = """ diff --git a/tests/functional/data_test_patch/test_singular_test_patch.py b/tests/functional/data_test_patch/test_singular_test_patch.py index 9b161479f3c..e7004bab9e2 100644 --- a/tests/functional/data_test_patch/test_singular_test_patch.py +++ b/tests/functional/data_test_patch/test_singular_test_patch.py @@ -38,8 +38,8 @@ def test_compile(self, project): manifest = run_dbt(["parse"]) test_node = manifest.nodes["test.test.my_singular_test"] assert test_node.description == "My singular test description" - print(f"--- config.meta: {test_node.config.meta}") - print(f"--- node.meta: {test_node.meta}") + assert test_node.config.meta == {"some_key": "another_val"} + assert test_node.meta == {"some_key": "another_val"} class TestPatchSingularTestInvalidName: