Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add various snapshot config tests to test_simple_snapshot.py #1202

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# install latest changes in dbt-core
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-adapters.git
git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter
git+https://github.com/dbt-labs/dbt-core.git@snapshot_dbt_valid_to_current#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-adapters.git@test_various_snapshot_configs
git+https://github.com/dbt-labs/dbt-adapters.git@test_various_snapshot_configs#subdirectory=dbt-tests-adapter
git+https://github.com/dbt-labs/dbt-common.git

# dev
Expand Down
23 changes: 23 additions & 0 deletions tests/functional/adapter/test_simple_snapshot.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,32 @@
from dbt.tests.adapter.simple_snapshot.test_snapshot import BaseSnapshotCheck, BaseSimpleSnapshot

from dbt.tests.adapter.simple_snapshot.test_various_configs import (
BaseSnapshotColumnNames,
BaseSnapshotColumnNamesFromDbtProject,
BaseSnapshotInvalidColumnNames,
BaseSnapshotDbtValidToCurrent,
)


class TestSnapshot(BaseSimpleSnapshot):
pass


class TestSnapshotCheck(BaseSnapshotCheck):
pass


class TestSnapshotColumnNames(BaseSnapshotColumnNames):
pass


class TestSnapshotColumnNamesFromDbtProject(BaseSnapshotColumnNamesFromDbtProject):
pass


class TestSnapshotInvalidColumnNames(BaseSnapshotInvalidColumnNames):
pass


class TestSnapshotDbtValidToCurrent(BaseSnapshotDbtValidToCurrent):
pass
Loading