Skip to content

Commit

Permalink
Base 207/add test (#1095)
Browse files Browse the repository at this point in the history
* Add test for upstream change
* Change database message

---------

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
Co-authored-by: Mike Alfare <mike.alfare@dbtlabs.com>
Co-authored-by: Mike Alfare <13974384+mikealfare@users.noreply.github.com>
  • Loading branch information
4 people authored Jul 3, 2024
1 parent 13970da commit ce596f2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tests/functional/adapter/dbt_show/test_dbt_show.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
from dbt.tests.adapter.dbt_show.test_dbt_show import BaseShowSqlHeader, BaseShowLimit
from dbt.tests.adapter.dbt_show.test_dbt_show import (
BaseShowSqlHeader,
BaseShowLimit,
BaseShowDoesNotHandleDoubleLimit,
)


class TestBigQueryShowLimit(BaseShowLimit):
class TestSnowflakeShowLimit(BaseShowLimit):
pass


class TestBigQueryShowSqlHeader(BaseShowSqlHeader):
class TestSnowflakeShowSqlHeader(BaseShowSqlHeader):
pass


class TestSnowflakeShowDoesNotHandleDoubleLimit(BaseShowDoesNotHandleDoubleLimit):
DATABASE_ERROR_MESSAGE = "unexpected 'limit'"

0 comments on commit ce596f2

Please sign in to comment.