File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
tests/functional/adapter/materialization Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import pytest
16+ from tests .fixtures .profiles import unique_schema
1617from dbt .tests .adapter .basic .test_snapshot_check_cols import (
1718 BaseSnapshotCheckCols ,
1819)
2324
2425
2526class 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- }
You can’t perform that action at this time.
0 commit comments