Skip to content

Commit

Permalink
Add method to disable test caching.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Feb 1, 2024
1 parent 553c7a7 commit 246c4bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbt_common/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ def test_caching_enabled() -> bool:
def enable_test_caching() -> None:
global _TEST_CACHING_ENABLED
_TEST_CACHING_ENABLED = True


def disable_test_caching() -> None:
global _TEST_CACHING_ENABLED
_TEST_CACHING_ENABLED = False

0 comments on commit 246c4bc

Please sign in to comment.