Skip to content

Commit

Permalink
Add tests for date_spine macro, and sub macros (#787)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Alfare <[email protected]>
  • Loading branch information
QMalcolm and mikealfare authored Oct 10, 2023
1 parent 1bbbb96 commit 273694b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/functional/adapter/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@
from dbt.tests.adapter.utils.test_current_timestamp import BaseCurrentTimestampAware
from dbt.tests.adapter.utils.test_dateadd import BaseDateAdd
from dbt.tests.adapter.utils.test_datediff import BaseDateDiff
from dbt.tests.adapter.utils.test_date_spine import BaseDateSpine
from dbt.tests.adapter.utils.test_date_trunc import BaseDateTrunc
from dbt.tests.adapter.utils.test_escape_single_quotes import BaseEscapeSingleQuotesQuote
from dbt.tests.adapter.utils.test_escape_single_quotes import BaseEscapeSingleQuotesBackslash
from dbt.tests.adapter.utils.test_except import BaseExcept
from dbt.tests.adapter.utils.test_generate_series import BaseGenerateSeries
from dbt.tests.adapter.utils.test_get_intervals_between import BaseGetIntervalsBetween
from dbt.tests.adapter.utils.test_get_powers_of_two import BaseGetPowersOfTwo
from dbt.tests.adapter.utils.test_hash import BaseHash
from dbt.tests.adapter.utils.test_intersect import BaseIntersect
from dbt.tests.adapter.utils.test_last_day import BaseLastDay
Expand Down Expand Up @@ -66,6 +70,10 @@ class TestDateDiff(BaseDateDiff):
pass


class TestDateSpine(BaseDateSpine):
pass


class TestDateTrunc(BaseDateTrunc):
pass

Expand All @@ -82,6 +90,18 @@ class TestExcept(BaseExcept):
pass


class TestGenerateSeries(BaseGenerateSeries):
pass


class TestGetIntervalsBeteween(BaseGetIntervalsBetween):
pass


class TestGetPowersOfTwo(BaseGetPowersOfTwo):
pass


class TestHash(BaseHash):
pass

Expand Down

0 comments on commit 273694b

Please sign in to comment.