Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 74688d8

Browse files
committed
Add test scaffolding
1 parent 56ef039 commit 74688d8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

data_diff/databases/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
from .redshift import Redshift
99
from .presto import Presto
1010
from .databricks import Databricks
11+
from .trino import Trino
1112

1213
from .connect import connect_to_uri

tests/common.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
TEST_BIGQUERY_CONN_STRING: str = None
1616
TEST_REDSHIFT_CONN_STRING: str = None
1717
TEST_ORACLE_CONN_STRING: str = None
18+
<<<<<<< HEAD
1819
TEST_DATABRICKS_CONN_STRING: str = os.environ.get("DATADIFF_DATABRICKS_URI")
20+
=======
21+
TEST_TRINO_CONN_STRING: str = os.environ.get("DATADIFF_TRINO_URI") or None
22+
>>>>>>> d60e4b8 (Add test scaffolding)
1923

2024
DEFAULT_N_SAMPLES = 50
2125
N_SAMPLES = int(os.environ.get("N_SAMPLES", DEFAULT_N_SAMPLES))
@@ -54,7 +58,11 @@ def get_git_revision_short_hash() -> str:
5458
db.Redshift: TEST_REDSHIFT_CONN_STRING,
5559
db.Oracle: TEST_ORACLE_CONN_STRING,
5660
db.Presto: TEST_PRESTO_CONN_STRING,
61+
<<<<<<< HEAD
5762
db.Databricks: TEST_DATABRICKS_CONN_STRING,
63+
=======
64+
db.Trino: TEST_TRINO_CONN_STRING,
65+
>>>>>>> d60e4b8 (Add test scaffolding)
5866
}
5967

6068
for k, v in CONN_STRINGS.items():

0 commit comments

Comments
 (0)