From 669e6dfdfb5f6cb7d358f7feb6bf5f57c97841da Mon Sep 17 00:00:00 2001 From: Michelle Ark Date: Thu, 28 Sep 2023 19:10:26 +0100 Subject: [PATCH] reuse core fixture for dbt show sql header test --- .../adapter/dbt_show/test_dbt_show.py | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/tests/functional/adapter/dbt_show/test_dbt_show.py b/tests/functional/adapter/dbt_show/test_dbt_show.py index 9168ecb50..c60a26aec 100644 --- a/tests/functional/adapter/dbt_show/test_dbt_show.py +++ b/tests/functional/adapter/dbt_show/test_dbt_show.py @@ -1,27 +1,9 @@ -import pytest from dbt.tests.adapter.dbt_show.test_dbt_show import BaseShowSqlHeader, BaseShowLimit -my_model_sql_header_sql = """ -{{ - config( - materialized = "table" - ) -}} -{% call set_sql_header(config) %} -SET MY_VARIABLE='test'; -{% endcall %} -SELECT $MY_VARIABLE as column_name -""" - - class TestBigQueryShowLimit(BaseShowLimit): pass class TestBigQueryShowSqlHeader(BaseShowSqlHeader): - @pytest.fixture(scope="class") - def models(self): - return { - "sql_header.sql": my_model_sql_header_sql, - } + pass