datahub/metadata-ingestion/tests/unit/test_druid_source.py
Aseem Bansal 61a95f41ae
chore: fix lint and remove incorrect integration mark from unit tests (#4621)
* chore: fix lint and remove incorrect integration mark from unit tests

* add to test requirements

* revert athena source tests
2022-04-08 17:18:48 +02:00

9 lines
235 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/"