Skip to content

Commit a46f7e5

Browse files
whitepowdertomasfarias
authored andcommitted
add DbtTrinoHook and tests
1 parent d426ee2 commit a46f7e5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/hooks/test_trino.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ def test_trino_registration():
1616
"method": "ldap",
1717
"user": "user",
1818
"password": "pass",
19-
"host": "trino-etl.example",
19+
"host": "trino.example",
2020
"port": 443,
2121
"http_scheme": "https",
22-
"database": "ads_dwh_hdfs",
23-
"schema": "ads_platform_dwh",
22+
"database": "example",
23+
"schema": "example",
2424
"verify": false
2525
}
2626
""",
@@ -31,12 +31,12 @@ def test_trino_registration():
3131

3232
assert details["type"] == "trino"
3333
assert details["method"] == "ldap"
34-
assert details["host"] == "trino-etl.example"
34+
assert details["host"] == "trino.example"
3535
assert details["port"] == 443
3636
assert details["user"] == "user"
3737
assert details["password"] == "pass"
38-
assert details["schema"] == "ads_platform_dwh"
39-
assert details["catalog"] == "ads_dwh_hdfs"
38+
assert details["schema"] == "example"
39+
assert details["catalog"] == "example"
4040
assert details["verify"] is False
4141

4242

0 commit comments

Comments
 (0)