-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
58 additions
and
13 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
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,5 @@ | ||
from dbt.tests.adapter.basic.test_base import BaseSimpleMaterializations | ||
|
||
|
||
class TestDatabricksSimpleMaterializations(BaseSimpleMaterializations): | ||
class TestSimpleMaterializations(BaseSimpleMaterializations): | ||
pass |
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
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,5 @@ | ||
from dbt.tests.adapter.basic.test_empty import BaseEmpty | ||
|
||
|
||
class TestDatabricksEmpty(BaseEmpty): | ||
class TestEmpty(BaseEmpty): | ||
pass |
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,5 @@ | ||
from dbt.tests.adapter.basic.test_ephemeral import BaseEphemeral | ||
|
||
|
||
class TestDatabricksEphemeral(BaseEphemeral): | ||
class TestEphemeral(BaseEphemeral): | ||
pass |
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,5 @@ | ||
from dbt.tests.adapter.basic.test_generic_tests import BaseGenericTests | ||
|
||
|
||
class TestDatabricksGenericTests(BaseGenericTests): | ||
class TestGenericTests(BaseGenericTests): | ||
pass |
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,9 +1,9 @@ | ||
from dbt.tests.adapter.basic.test_incremental import BaseIncremental, BaseIncrementalNotSchemaChange | ||
|
||
|
||
class TestDatabricksIncremental(BaseIncremental): | ||
class TestIncremental(BaseIncremental): | ||
pass | ||
|
||
|
||
class TestDatabricksIncrementalNotSchemaChange(BaseIncrementalNotSchemaChange): | ||
class TestIncrementalNotSchemaChange(BaseIncrementalNotSchemaChange): | ||
pass |
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,5 @@ | ||
from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests | ||
|
||
|
||
class TestDatabricksSingularTests(BaseSingularTests): | ||
class TestSingularTests(BaseSingularTests): | ||
pass |
2 changes: 1 addition & 1 deletion
2
tests/functional/adapter/basic/test_singular_tests_ephemeral.py
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,5 @@ | ||
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTestsEphemeral | ||
|
||
|
||
class TestDatabricksSingularTestsEphemeral(BaseSingularTestsEphemeral): | ||
class TestSingularTestsEphemeral(BaseSingularTestsEphemeral): | ||
pass |
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,5 @@ | ||
from dbt.tests.adapter.basic.test_snapshot_check_cols import BaseSnapshotCheckCols | ||
|
||
|
||
class TestDatabricksSnapshotCheckCols(BaseSnapshotCheckCols): | ||
class TestSnapshotCheckCols(BaseSnapshotCheckCols): | ||
pass |
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,5 @@ | ||
from dbt.tests.adapter.basic.test_snapshot_timestamp import BaseSnapshotTimestamp | ||
|
||
|
||
class TestDatabricksSnapshotTimestamp(BaseSnapshotTimestamp): | ||
class TestSnapshotTimestamp(BaseSnapshotTimestamp): | ||
pass |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from dbt.tests.adapter.basic.test_table_materialization import BaseTableMaterialization | ||
|
||
|
||
class TestTableMat(BaseTableMaterialization): | ||
pass |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from dbt.tests.adapter.basic.test_validate_connection import BaseValidateConnection | ||
|
||
|
||
class TestValidateConnection(BaseValidateConnection): | ||
pass |
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from dbt.tests.adapter.caching.test_caching import ( | ||
BaseCachingTest, | ||
BaseCachingLowercaseModel, | ||
BaseCachingUppercaseModel, | ||
BaseCachingSelectedSchemaOnly, | ||
model_sql, | ||
) | ||
|
||
import pytest | ||
|
||
|
||
class TestNoPopulateCache(BaseCachingTest): | ||
@pytest.fixture(scope="class") | ||
def models(self): | ||
return { | ||
"model.sql": model_sql, | ||
} | ||
|
||
def test_cache(self, project): | ||
# --no-populate-cache still allows the cache to populate all relations | ||
# under a schema, so the behavior here remains the same as other tests | ||
run_args = ["--no-populate-cache", "run"] | ||
self.run_and_inspect_cache(project, run_args) | ||
|
||
|
||
class TestCachingLowerCaseModel(BaseCachingLowercaseModel): | ||
pass | ||
|
||
|
||
class TestCachingUppercaseModel(BaseCachingUppercaseModel): | ||
pass | ||
|
||
|
||
class TestCachingSelectedSchemaOnly(BaseCachingSelectedSchemaOnly): | ||
pass |