Skip to content

Commit

Permalink
Add test_simple_snapshot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Oct 9, 2024
1 parent 455c768 commit e145986
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# install latest changes in dbt-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-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
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git@snapshot_dbt_valid_to_current#egg=dbt-core&subdirectory=core

# dev
ddtrace==2.3.0
Expand Down
32 changes: 32 additions & 0 deletions tests/functional/adapter/test_simple_snapshot.py
Original file line number Diff line number Diff line change
@@ -0,0 +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

0 comments on commit e145986

Please sign in to comment.