From 4555e5dc953978569a3794e850fb93ca215f4ee9 Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Fri, 18 Oct 2024 05:53:01 -0700 Subject: [PATCH] Add test for ensuring bad incremental strategies get validated/caught (#160) --- tests/functional/adapter/test_basic.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/functional/adapter/test_basic.py b/tests/functional/adapter/test_basic.py index bf31a123..d5a01300 100644 --- a/tests/functional/adapter/test_basic.py +++ b/tests/functional/adapter/test_basic.py @@ -10,6 +10,7 @@ from dbt.tests.adapter.basic.test_incremental import ( BaseIncremental, BaseIncrementalNotSchemaChange, + BaseIncrementalBadStrategy, ) from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTestsEphemeral @@ -55,6 +56,10 @@ class TestBaseIncrementalNotSchemaChange(BaseIncrementalNotSchemaChange): pass +class TestBaseIncrementalBadStrategy(BaseIncrementalBadStrategy): + pass + + class TestSingularTests(BaseSingularTests): pass