mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-04 15:50:14 +00:00
13 lines
315 B
Python
13 lines
315 B
Python
import pathlib
|
|
|
|
from datahub.sdk.entity import Entity
|
|
from tests.test_helpers import mce_helpers
|
|
|
|
|
|
def assert_entity_golden(entity: Entity, golden_path: pathlib.Path) -> None:
|
|
mce_helpers.check_goldens_stream(
|
|
outputs=entity.as_mcps(),
|
|
golden_path=golden_path,
|
|
ignore_order=False,
|
|
)
|