Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
stu-k committed Apr 11, 2023
1 parent 977b60f commit cf15815
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/adapter/dbt/tests/adapter/caching/test_caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,20 @@ def test_cache(self, project):
self.run_and_inspect_cache(project, run_args)


class TestNoPopulateCache(BaseCachingTest):
@pytest.fixture(scope="class")
def models(self):
return {
"model.sql": model_sql,
}

def test_cache(self, project):
# --no-populate-cache still allows the cache to populate all relations
# under a schema, so the behavior here remains the same as other tests
run_args = ["--no-populate-cache", "run"]
self.run_and_inspect_cache(project, run_args)


class TestCachingLowerCaseModel(BaseCachingLowercaseModel):
pass

Expand Down

0 comments on commit cf15815

Please sign in to comment.