-
Notifications
You must be signed in to change notification settings - Fork 17
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
1 parent
086fa8b
commit 57d2e70
Showing
28 changed files
with
1,300 additions
and
5 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
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 @@ | ||
# this file namespaces the test files within to avoid naming collision for the test collector |
Large diffs are not rendered by default.
Oops, something went wrong.
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,22 @@ | ||
from dbt.tests.adapter.aliases.test_aliases import ( | ||
BaseAliases, | ||
BaseAliasErrors, | ||
BaseSameAliasDifferentSchemas, | ||
BaseSameAliasDifferentDatabases, | ||
) | ||
|
||
|
||
class TestAliases(BaseAliases): | ||
pass | ||
|
||
|
||
class TestAliasErrors(BaseAliasErrors): | ||
pass | ||
|
||
|
||
class TestSameAliasDifferentSchemas(BaseSameAliasDifferentSchemas): | ||
pass | ||
|
||
|
||
class TestSameAliasDifferentDatabases(BaseSameAliasDifferentDatabases): | ||
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,79 @@ | ||
from dbt.tests.adapter.basic.test_adapter_methods import BaseAdapterMethod | ||
from dbt.tests.adapter.basic.test_base import BaseSimpleMaterializations | ||
from dbt.tests.adapter.basic.test_docs_generate import ( | ||
BaseDocsGenerate, | ||
BaseDocsGenReferences, | ||
) | ||
from dbt.tests.adapter.basic.test_empty import BaseEmpty | ||
from dbt.tests.adapter.basic.test_ephemeral import BaseEphemeral | ||
from dbt.tests.adapter.basic.test_generic_tests import BaseGenericTests | ||
from dbt.tests.adapter.basic.test_incremental import ( | ||
BaseIncremental, | ||
BaseIncrementalNotSchemaChange, | ||
) | ||
from dbt.tests.adapter.basic.test_singular_tests import BaseSingularTests | ||
from dbt.tests.adapter.basic.test_singular_tests_ephemeral import BaseSingularTestsEphemeral | ||
from dbt.tests.adapter.basic.test_snapshot_check_cols import BaseSnapshotCheckCols | ||
from dbt.tests.adapter.basic.test_snapshot_timestamp import BaseSnapshotTimestamp | ||
from dbt.tests.adapter.basic.test_table_materialization import BaseTableMaterialization | ||
from dbt.tests.adapter.basic.test_validate_connection import BaseValidateConnection | ||
|
||
|
||
class TestBaseCaching(BaseAdapterMethod): | ||
pass | ||
|
||
|
||
class TestSimpleMaterializations(BaseSimpleMaterializations): | ||
pass | ||
|
||
|
||
class TestDocsGenerate(BaseDocsGenerate): | ||
pass | ||
|
||
|
||
class TestDocsGenReferences(BaseDocsGenReferences): | ||
pass | ||
|
||
|
||
class TestEmpty(BaseEmpty): | ||
pass | ||
|
||
|
||
class TestEphemeral(BaseEphemeral): | ||
pass | ||
|
||
|
||
class TestGenericTests(BaseGenericTests): | ||
pass | ||
|
||
|
||
class TestIncremental(BaseIncremental): | ||
pass | ||
|
||
|
||
class TestBaseIncrementalNotSchemaChange(BaseIncrementalNotSchemaChange): | ||
pass | ||
|
||
|
||
class TestSingularTests(BaseSingularTests): | ||
pass | ||
|
||
|
||
class TestSingularTestsEphemeral(BaseSingularTestsEphemeral): | ||
pass | ||
|
||
|
||
class TestSnapshotCheckCols(BaseSnapshotCheckCols): | ||
pass | ||
|
||
|
||
class TestSnapshotTimestamp(BaseSnapshotTimestamp): | ||
pass | ||
|
||
|
||
class TestTableMat(BaseTableMaterialization): | ||
pass | ||
|
||
|
||
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,22 @@ | ||
from dbt.tests.adapter.caching.test_caching import ( | ||
BaseCachingLowercaseModel, | ||
BaseCachingSelectedSchemaOnly, | ||
BaseCachingUppercaseModel, | ||
BaseNoPopulateCache, | ||
) | ||
|
||
|
||
class TestCachingLowerCaseModel(BaseCachingLowercaseModel): | ||
pass | ||
|
||
|
||
class TestCachingUppercaseModel(BaseCachingUppercaseModel): | ||
pass | ||
|
||
|
||
class TestCachingSelectedSchemaOnly(BaseCachingSelectedSchemaOnly): | ||
pass | ||
|
||
|
||
class TestNoPopulateCache(BaseNoPopulateCache): | ||
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,20 @@ | ||
import pytest | ||
|
||
from dbt.tests.adapter.dbt_clone.test_dbt_clone import ( | ||
BaseCloneNotPossible, | ||
BaseClonePossible, | ||
BaseCloneSameTargetAndState, | ||
) | ||
|
||
|
||
class TestBaseCloneNotPossible(BaseCloneNotPossible): | ||
pass | ||
|
||
|
||
@pytest.mark.skip("Cloning is not possible in Postgres") | ||
class TestBaseClonePossible(BaseClonePossible): | ||
pass | ||
|
||
|
||
class TestCloneSameTargetAndState(BaseCloneSameTargetAndState): | ||
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.column_types.test_column_types import BaseColumnTypes | ||
|
||
|
||
class TestPostgresColumnTypes(BaseColumnTypes): | ||
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.concurrency.test_concurrency import BaseConcurrency | ||
|
||
|
||
class TestConcurrency(BaseConcurrency): | ||
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,64 @@ | ||
from dbt.tests.adapter.constraints.test_constraints import ( | ||
BaseTableConstraintsColumnsEqual, | ||
BaseViewConstraintsColumnsEqual, | ||
BaseIncrementalConstraintsColumnsEqual, | ||
BaseConstraintsRuntimeDdlEnforcement, | ||
BaseConstraintsRollback, | ||
BaseIncrementalConstraintsRuntimeDdlEnforcement, | ||
BaseIncrementalConstraintsRollback, | ||
BaseTableContractSqlHeader, | ||
BaseIncrementalContractSqlHeader, | ||
BaseModelConstraintsRuntimeEnforcement, | ||
BaseConstraintQuotedColumn, | ||
BaseIncrementalForeignKeyConstraint, | ||
) | ||
|
||
|
||
class TestTableConstraintsColumnsEqual(BaseTableConstraintsColumnsEqual): | ||
pass | ||
|
||
|
||
class TestViewConstraintsColumnsEqual(BaseViewConstraintsColumnsEqual): | ||
pass | ||
|
||
|
||
class TestIncrementalConstraintsColumnsEqual(BaseIncrementalConstraintsColumnsEqual): | ||
pass | ||
|
||
|
||
class TestTableConstraintsRuntimeDdlEnforcement(BaseConstraintsRuntimeDdlEnforcement): | ||
pass | ||
|
||
|
||
class TestTableConstraintsRollback(BaseConstraintsRollback): | ||
pass | ||
|
||
|
||
class TestIncrementalConstraintsRuntimeDdlEnforcement( | ||
BaseIncrementalConstraintsRuntimeDdlEnforcement | ||
): | ||
pass | ||
|
||
|
||
class TestIncrementalConstraintsRollback(BaseIncrementalConstraintsRollback): | ||
pass | ||
|
||
|
||
class TestTableContractSqlHeader(BaseTableContractSqlHeader): | ||
pass | ||
|
||
|
||
class TestIncrementalContractSqlHeader(BaseIncrementalContractSqlHeader): | ||
pass | ||
|
||
|
||
class TestModelConstraintsRuntimeEnforcement(BaseModelConstraintsRuntimeEnforcement): | ||
pass | ||
|
||
|
||
class TestConstraintQuotedColumn(BaseConstraintQuotedColumn): | ||
pass | ||
|
||
|
||
class TestIncrementalForeignKeyConstraint(BaseIncrementalForeignKeyConstraint): | ||
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.utils.data_types.test_type_bigint import BaseTypeBigInt | ||
from dbt.tests.adapter.utils.data_types.test_type_boolean import BaseTypeBoolean | ||
from dbt.tests.adapter.utils.data_types.test_type_float import BaseTypeFloat | ||
from dbt.tests.adapter.utils.data_types.test_type_int import BaseTypeInt | ||
from dbt.tests.adapter.utils.data_types.test_type_numeric import BaseTypeNumeric | ||
from dbt.tests.adapter.utils.data_types.test_type_string import BaseTypeString | ||
from dbt.tests.adapter.utils.data_types.test_type_timestamp import BaseTypeTimestamp | ||
|
||
|
||
class TestTypeBigInt(BaseTypeBigInt): | ||
pass | ||
|
||
|
||
class TestTypeBoolean(BaseTypeBoolean): | ||
pass | ||
|
||
|
||
class TestTypeFloat(BaseTypeFloat): | ||
pass | ||
|
||
|
||
class TestTypeInt(BaseTypeInt): | ||
pass | ||
|
||
|
||
class TestTypeNumeric(BaseTypeNumeric): | ||
pass | ||
|
||
|
||
class TestTypeString(BaseTypeString): | ||
pass | ||
|
||
|
||
class TestTypeTimestamp(BaseTypeTimestamp): | ||
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,12 @@ | ||
from dbt.tests.adapter.dbt_debug.test_dbt_debug import ( | ||
BaseDebugPostgres, | ||
BaseDebugInvalidProjectPostgres, | ||
) | ||
|
||
|
||
class TestDebugPostgres(BaseDebugPostgres): | ||
pass | ||
|
||
|
||
class TestDebugInvalidProjectPostgres(BaseDebugInvalidProjectPostgres): | ||
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.empty.test_empty import BaseTestEmpty | ||
|
||
|
||
class TestEmpty(BaseTestEmpty): | ||
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,17 @@ | ||
from dbt.tests.adapter.ephemeral.test_ephemeral import ( | ||
BaseEphemeralMulti, | ||
BaseEphemeralNested, | ||
BaseEphemeralErrorHandling, | ||
) | ||
|
||
|
||
class TestEphemeralMulti(BaseEphemeralMulti): | ||
pass | ||
|
||
|
||
class TestEphemeralNested(BaseEphemeralNested): | ||
pass | ||
|
||
|
||
class TestEphemeralErrorHandling(BaseEphemeralErrorHandling): | ||
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,25 @@ | ||
from dbt.tests.adapter.grants.test_incremental_grants import BaseIncrementalGrants | ||
from dbt.tests.adapter.grants.test_invalid_grants import BaseInvalidGrants | ||
from dbt.tests.adapter.grants.test_model_grants import BaseModelGrants | ||
from dbt.tests.adapter.grants.test_seed_grants import BaseSeedGrants | ||
from dbt.tests.adapter.grants.test_snapshot_grants import BaseSnapshotGrants | ||
|
||
|
||
class TestIncrementalGrants(BaseIncrementalGrants): | ||
pass | ||
|
||
|
||
class TestInvalidGrants(BaseInvalidGrants): | ||
pass | ||
|
||
|
||
class TestModelGrants(BaseModelGrants): | ||
pass | ||
|
||
|
||
class TestSeedGrants(BaseSeedGrants): | ||
pass | ||
|
||
|
||
class TestSnapshotGrants(BaseSnapshotGrants): | ||
pass |
Oops, something went wrong.