Skip to content

Commit

Permalink
tidy: var name
Browse files Browse the repository at this point in the history
  • Loading branch information
devmessias committed Nov 11, 2024
1 parent 32a794a commit ba528e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/parser/unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def parse_unit_test_case(self, test_case: UnitTestDefinition):
if original_input_node.latest_version:
input_node.latest_version = original_input_node.latest_version

elif original_input_node.resource_type == NodeType.Source:
elif resource_type == NodeType.Source:
# We are reusing the database/schema/identifier from the original source,
# but that shouldn't matter since this acts as an ephemeral model which just
# wraps a CTE around the unit test node.
Expand Down

0 comments on commit ba528e9

Please sign in to comment.