Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Dec 5, 2024
1 parent 576a559 commit e41bba0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/functional/data_test_patch/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand All @@ -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 = """
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/data_test_patch/test_singular_test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e41bba0

Please sign in to comment.