From af06ef8f4a784c14cfc6bbbfb0d6560377bc3438 Mon Sep 17 00:00:00 2001 From: Doug Beatty Date: Tue, 30 Apr 2024 18:59:57 -0600 Subject: [PATCH] Import relevant pytest(s) for cross-database `cast` macro --- .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 9934a240..985b2847 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 @@ -57,6 +58,10 @@ class TestBoolOr(BaseBoolOr): pass +class TestCast(BaseCast): + pass + + class TestCastBoolToText(BaseCastBoolToText): pass