File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ import pytest
2
+ from dbt .tests .adapter .caching .test_caching import (
3
+ BaseCachingLowercaseModel ,
4
+ BaseCachingSelectedSchemaOnly ,
5
+ BaseCachingTest ,
6
+ BaseCachingUppercaseModel ,
7
+ model_sql ,
8
+ )
9
+
10
+
11
+ class TestNoPopulateCacheSQLServer (BaseCachingTest ):
12
+ @pytest .fixture (scope = "class" )
13
+ def models (self ):
14
+ return {
15
+ "model.sql" : model_sql ,
16
+ }
17
+
18
+ def test_cache (self , project ):
19
+ # --no-populate-cache still allows the cache to populate all relations
20
+ # under a schema, so the behavior here remains the same as other tests
21
+ run_args = ["--no-populate-cache" , "run" ]
22
+ self .run_and_inspect_cache (project , run_args )
23
+
24
+
25
+ class TestCachingLowerCaseModelSQLServer (BaseCachingLowercaseModel ):
26
+ pass
27
+
28
+
29
+ class TestCachingUppercaseModelSQLServer (BaseCachingUppercaseModel ):
30
+ pass
31
+
32
+
33
+ class TestCachingSelectedSchemaOnlySQLServer (BaseCachingSelectedSchemaOnly ):
34
+ pass
You can’t perform that action at this time.
0 commit comments