Skip to content

Commit

Permalink
Tests for current_timestamp (#275)
Browse files Browse the repository at this point in the history
* Test failure will confirm that it is not a timezone-naive data type

* Temporarily update dev-requirements.text

* Tests for current_timestamp

* Restore original dev-requirements.txt
  • Loading branch information
dbeatty10 authored Sep 26, 2022
1 parent 21b5212 commit dbcb1cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/functional/adapter/utils/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from dbt.tests.adapter.utils.test_bool_or import BaseBoolOr
from dbt.tests.adapter.utils.test_cast_bool_to_text import BaseCastBoolToText
from dbt.tests.adapter.utils.test_concat import BaseConcat
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_trunc import BaseDateTrunc
Expand Down Expand Up @@ -39,6 +40,11 @@ class TestConcat(BaseConcat):
pass


# Use either BaseCurrentTimestampAware or BaseCurrentTimestampNaive but not both
class TestCurrentTimestamp(BaseCurrentTimestampAware):
pass


class TestDateAdd(BaseDateAdd):
pass

Expand Down

0 comments on commit dbcb1cf

Please sign in to comment.