Skip to content

Commit

Permalink
add dbt show tests (#611) (#620)
Browse files Browse the repository at this point in the history
* add dbt show tests

* changelog entry

* repoint to core main

* change to a WITH statement in model definition for dbt_show test model

* reuse core fixture for dbt show sql header test

* undo dev-requirements changes

---------

Co-authored-by: colin-rogers-dbt <[email protected]>
Co-authored-by: Matthew McKnight <[email protected]>
Co-authored-by: Matthew McKnight <[email protected]>
(cherry picked from commit ca3c7b4)

Co-authored-by: Michelle Ark <[email protected]>
  • Loading branch information
github-actions[bot] and MichelleArk authored Sep 28, 2023
1 parent 31bbecb commit 54bc578
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20230925-150132.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Add tests for inlined limit + sql_header in dbt show query
time: 2023-09-25T15:01:32.025325+01:00
custom:
Author: michelleark
Issue: "616"
9 changes: 9 additions & 0 deletions tests/functional/adapter/dbt_show/test_dbt_show.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from dbt.tests.adapter.dbt_show.test_dbt_show import BaseShowSqlHeader, BaseShowLimit


class TestRedshiftShowLimit(BaseShowLimit):
pass


class TestRedshiftShowSqlHeader(BaseShowSqlHeader):
pass

0 comments on commit 54bc578

Please sign in to comment.