Skip to content

Commit

Permalink
Fix deferral for unit test type deteection
Browse files Browse the repository at this point in the history
  • Loading branch information
jtcohen6 committed Feb 19, 2024
1 parent 0840647 commit 8b5618e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/dbt/parser/unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def parse_unit_test_case(self, test_case: UnitTestDefinition):
unique_id=f"model.{original_input_node.package_name}.{input_name}",
name=input_name,
path=original_input_node.path or f"{input_name}.sql",
defer_relation=original_input_node.defer_relation,
)
if (
original_input_node.resource_type == NodeType.Model
Expand Down

0 comments on commit 8b5618e

Please sign in to comment.