-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
14 changed files
with
103 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
kind: Added | ||
body: dbt 1.8 support | ||
time: 2024-08-30T13:46:18.709204+01:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from dbt.tests.adapter.empty.test_empty import BaseTestEmpty | ||
|
||
|
||
class TestFireboltEmpty(BaseTestEmpty): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
tests/functional/adapter/unit_testing/test_unit_testing.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
from dbt.tests.adapter.unit_testing.test_case_insensitivity import ( | ||
BaseUnitTestCaseInsensivity, | ||
) | ||
from dbt.tests.adapter.unit_testing.test_invalid_input import ( | ||
BaseUnitTestInvalidInput, | ||
) | ||
from dbt.tests.adapter.unit_testing.test_types import BaseUnitTestingTypes | ||
from pytest import fixture | ||
|
||
|
||
class TestFireboltUnitTestCaseInsensitivity(BaseUnitTestCaseInsensivity): | ||
pass | ||
|
||
|
||
class TestFireboltUnitTestInvalidInput(BaseUnitTestInvalidInput): | ||
pass | ||
|
||
|
||
class TestFireboltUnitTestingTypes(BaseUnitTestingTypes): | ||
@fixture | ||
def data_types(self): | ||
# sql_value, yaml_value | ||
return [ | ||
['1', '1'], | ||
["'1'", '1'], | ||
['true', 'true'], | ||
["DATE '2020-01-02'", '2020-01-02'], | ||
["TIMESTAMP '2013-11-03 00:00:00'", '2013-11-03 00:00:00'], | ||
["TIMESTAMPTZ '2013-11-03 00:00:00-0'", '2013-11-03 00:00:00-0'], | ||
["'1'::numeric", '1'], | ||
[ | ||
"""'{"bar": "baz", "balance": 7.77, "active": false}'""", # json | ||
"""'{"bar": "baz", "balance": 7.77, "active": false}'""", | ||
], | ||
["ARRAY['a','b','c']", """'{"a", "b", "c"}'"""], | ||
['ARRAY[1,2,3]', """'{1, 2, 3}'"""], | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters