From 111ef652670052117e98ff3663cfeba52d8250f4 Mon Sep 17 00:00:00 2001 From: devmessias Date: Wed, 2 Oct 2024 14:22:44 -0300 Subject: [PATCH] test(python): should test for incremental not view --- tests/unit/parser/test_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/parser/test_parser.py b/tests/unit/parser/test_parser.py index 0d95a495cdf..7e7fa4e6155 100644 --- a/tests/unit/parser/test_parser.py +++ b/tests/unit/parser/test_parser.py @@ -1004,7 +1004,7 @@ def model(dbt, session): import pandas as pd def model(dbt, session): - dbt.config(materialized="view") + dbt.config(materialized="incremental") return pd.dataframe([1, 2]) """ @@ -1199,7 +1199,7 @@ def test_python_model_custom_materialization(self): self.parser.manifest.files[block.file.file_id] = block.file self.parser.parse_file(block) node = list(self.parser.manifest.nodes.values())[0] - self.assertEqual(node.get_materialization(), "view") + self.assertEqual(node.get_materialization(), "incremental") class StaticModelParserTest(BaseParserTest):