15 lines
414 B
Python
Raw Permalink Normal View History

import inspect
2021-02-11 23:14:20 -08:00
from datahub.ingestion.sink.sink_registry import sink_registry
from datahub.ingestion.source.source_registry import source_registry
def test_sources_not_abstract() -> None:
for cls in source_registry.mapping.values():
2021-02-09 15:58:26 -08:00
assert not inspect.isabstract(cls)
2021-02-11 16:00:29 -08:00
def test_sinks_not_abstract() -> None:
for cls in sink_registry.mapping.values():
2021-02-09 15:58:26 -08:00
assert not inspect.isabstract(cls)