Skip to content

Commit 97fc657

Browse files
committed
Fix test
1 parent ae7cb4c commit 97fc657

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

tests/functional/adapter/materialization/test_snapshots.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import pytest
16+
from tests.fixtures.profiles import unique_schema
1617
from dbt.tests.adapter.basic.test_snapshot_check_cols import (
1718
BaseSnapshotCheckCols,
1819
)
@@ -23,14 +24,6 @@
2324

2425

2526
class TestSnapshotCheckColsDremio(BaseSnapshotCheckCols):
26-
@pytest.fixture(scope="class")
27-
def unique_schema(self, request, prefix) -> str:
28-
test_file = request.module.__name__
29-
# We only want the last part of the name
30-
test_file = test_file.split(".")[-1]
31-
unique_schema = f"{BUCKET}.{prefix}_{test_file}"
32-
return unique_schema
33-
3427
@pytest.fixture(scope="class")
3528
def dbt_profile_data(
3629
self, unique_schema, dbt_profile_target, profiles_config_update
@@ -82,10 +75,3 @@ def dbt_profile_data(
8275
if profiles_config_update:
8376
profile.update(profiles_config_update)
8477
return profile
85-
86-
@pytest.fixture(scope="class")
87-
def project_config_update(self):
88-
return {
89-
"seeds": {"+twin_strategy": "allow"},
90-
"name": "snapshot_strategy_timestamp",
91-
}

0 commit comments

Comments
 (0)