-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests for new incremental features
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
import pytest | ||
from dbt.tests.adapter.incremental.test_incremental_on_schema_change import ( | ||
BaseIncrementalOnSchemaChange, | ||
) | ||
from dbt.tests.adapter.incremental.test_incremental_predicates import BaseIncrementalPredicates | ||
from dbt.tests.adapter.incremental.test_incremental_unique_id import BaseIncrementalUniqueKey | ||
|
||
|
||
class TestBaseIncrementalUniqueKeySQLServer(BaseIncrementalUniqueKey): | ||
pass | ||
|
||
|
||
class TestIncrementalOnSchemaChangeSQLServer(BaseIncrementalOnSchemaChange): | ||
pass | ||
|
||
|
||
class TestIncrementalPredicatesDeleteInsertSQLServer(BaseIncrementalPredicates): | ||
pass | ||
|
||
|
||
class TestPredicatesDeleteInsertSQLServer(BaseIncrementalPredicates): | ||
@pytest.fixture(scope="class") | ||
def project_config_update(self): | ||
return {"models": {"+predicates": ["id != 2"], "+incremental_strategy": "delete+insert"}} |