mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-21 08:32:05 +00:00
8 lines
234 B
Python
8 lines
234 B
Python
from datahub.ingestion.source.sql.druid import DruidConfig
|
|
|
|
|
|
def test_druid_uri():
|
|
config = DruidConfig.parse_obj({"host_port": "localhost:8082"})
|
|
|
|
assert config.get_sql_alchemy_url() == "druid://localhost:8082/druid/v2/sql/"
|