Skip to content

Commit

Permalink
fix: wrong conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
devmessias committed Nov 13, 2024
1 parent f155805 commit 8583379
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/dbt/parser/unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,7 @@ def parse_unit_test_case(self, test_case: UnitTestDefinition):
}
resource_type = original_input_node.resource_type

Check warning on line 150 in core/dbt/parser/unit_tests.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/parser/unit_tests.py#L150

Added line #L150 was not covered by tests

if resource_type in (
NodeType.Model,
NodeType.Seed,
NodeType.Snapshot,
):
if resource_type in (NodeType.Model):

Check warning on line 152 in core/dbt/parser/unit_tests.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/parser/unit_tests.py#L152

Added line #L152 was not covered by tests

input_node = ModelNode(
**common_fields,
Expand Down

0 comments on commit 8583379

Please sign in to comment.