From 658e16ea01d1eb61a586dffd8134fd9d6a57e7cd Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 28 Sep 2023 19:54:29 +0100 Subject: [PATCH] add dbt show tests (#779) * add dbt show tests * changelog entry * repoint to core main * reuse core fixture for dbt show sql header test * point to @improve-show-fixture dbt-core branch * undo dev-requirements changes --------- Co-authored-by: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com> Co-authored-by: Matthew McKnight --- .changes/unreleased/Under the Hood-20230925-144814.yaml | 6 ++++++ tests/functional/adapter/dbt_show/test_dbt_show.py | 9 +++++++++ 2 files changed, 15 insertions(+) create mode 100644 .changes/unreleased/Under the Hood-20230925-144814.yaml create mode 100644 tests/functional/adapter/dbt_show/test_dbt_show.py diff --git a/.changes/unreleased/Under the Hood-20230925-144814.yaml b/.changes/unreleased/Under the Hood-20230925-144814.yaml new file mode 100644 index 000000000..df7e17255 --- /dev/null +++ b/.changes/unreleased/Under the Hood-20230925-144814.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Add tests for inlined limit + sql_header in dbt show query +time: 2023-09-25T14:48:14.663178+01:00 +custom: + Author: michelleark + Issue: "786" diff --git a/tests/functional/adapter/dbt_show/test_dbt_show.py b/tests/functional/adapter/dbt_show/test_dbt_show.py new file mode 100644 index 000000000..c60a26aec --- /dev/null +++ b/tests/functional/adapter/dbt_show/test_dbt_show.py @@ -0,0 +1,9 @@ +from dbt.tests.adapter.dbt_show.test_dbt_show import BaseShowSqlHeader, BaseShowLimit + + +class TestBigQueryShowLimit(BaseShowLimit): + pass + + +class TestBigQueryShowSqlHeader(BaseShowSqlHeader): + pass