mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-12 19:49:36 +00:00
11 lines
274 B
Python
11 lines
274 B
Python
![]() |
import pytest
|
||
|
|
||
|
|
||
|
@pytest.mark.integration
|
||
|
def test_druid_uri():
|
||
|
from datahub.ingestion.source.druid import DruidConfig
|
||
|
|
||
|
config = DruidConfig.parse_obj({"host_port": "localhost:8082"})
|
||
|
|
||
|
assert config.get_sql_alchemy_url() == "druid://localhost:8082/druid/v2/sql/"
|