From 862e8e9e68a9fc452110db3fd97e246fb8705bb0 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Tue, 14 May 2024 13:15:09 -0600 Subject: [PATCH] Import relevant pytest(s) for cross-database `cast` macro (#77) --- .changes/unreleased/Features-20240430-185700.yaml | 6 ++++++ tests/functional/shared_tests/test_utils.py | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 .changes/unreleased/Features-20240430-185700.yaml diff --git a/.changes/unreleased/Features-20240430-185700.yaml b/.changes/unreleased/Features-20240430-185700.yaml new file mode 100644 index 00000000..638d1062 --- /dev/null +++ b/.changes/unreleased/Features-20240430-185700.yaml @@ -0,0 +1,6 @@ +kind: Features +body: Add tests for cross-database `cast` macro +time: 2024-04-30T18:57:00.437045-06:00 +custom: + Author: dbeatty10 + Issue: "76" diff --git a/tests/functional/shared_tests/test_utils.py b/tests/functional/shared_tests/test_utils.py index 3811638a..d1a8ea1d 100644 --- a/tests/functional/shared_tests/test_utils.py +++ b/tests/functional/shared_tests/test_utils.py @@ -5,6 +5,7 @@ from dbt.tests.adapter.utils.test_array_concat import BaseArrayConcat from dbt.tests.adapter.utils.test_array_construct import BaseArrayConstruct from dbt.tests.adapter.utils.test_bool_or import BaseBoolOr +from dbt.tests.adapter.utils.test_cast import BaseCast from dbt.tests.adapter.utils.test_cast_bool_to_text import BaseCastBoolToText from dbt.tests.adapter.utils.test_concat import BaseConcat from dbt.tests.adapter.utils.test_current_timestamp import BaseCurrentTimestampAware @@ -58,6 +59,10 @@ class TestBoolOr(BaseBoolOr): pass +class TestCast(BaseCast): + pass + + class TestCastBoolToText(BaseCastBoolToText): pass