From ec63afbc6689798a6d284bcdd4694f4c8ab78e9f Mon Sep 17 00:00:00 2001 From: Pedro Sousa Date: Thu, 6 Jul 2023 17:15:23 +0100 Subject: [PATCH] cleanup --- macros/overrides.sql | 4 ++++ macros/tests.sql | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/macros/overrides.sql b/macros/overrides.sql index 63754e8..e55b0dd 100644 --- a/macros/overrides.sql +++ b/macros/overrides.sql @@ -24,3 +24,7 @@ {{ return (dbt.is_incremental())}} {% endif %} {% endmacro %} + +{% macro running_unit_test() %} + {{ return ('unit-test' in config.get('tags', {})) }} +{% endmacro %} diff --git a/macros/tests.sql b/macros/tests.sql index 7d24114..4e3333e 100644 --- a/macros/tests.sql +++ b/macros/tests.sql @@ -176,10 +176,6 @@ {% endmacro %} -{% macro running_unit_test() %} - {{ return ('unit-test' in config.get('tags', {})) }} -{% endmacro %} - {% macro ref_tested_model(model_name) %} {% set ref_tested_model %} -- We add an (unused) reference to the tested model,