Function
test_magic_join_rejection_matrix
(
dataset_with_loads: TLoadsFixture,
build_rel: Callable[[dlt.Dataset], dlt.Relation],
other: Any,
match: str,
)
Source from the content-addressed store, hash-verified
| 336 | ], |
| 337 | ) |
| 338 | def test_magic_join_rejection_matrix( |
| 339 | dataset_with_loads: TLoadsFixture, |
| 340 | build_rel: Callable[[dlt.Dataset], dlt.Relation], |
| 341 | other: Any, |
| 342 | match: str, |
| 343 | ) -> None: |
| 344 | dataset, _, _ = dataset_with_loads |
| 345 | rel = build_rel(dataset) |
| 346 | target = other(dataset) if callable(other) else other |
| 347 | |
| 348 | with pytest.raises(ValueError, match=match): |
| 349 | rel.join(target) |
| 350 | |
| 351 | |
| 352 | @pytest.mark.parametrize("kind", ["inner", "left", "right", "full"]) |
Callers
nothing calls this directly
Tested by
no test coverage detected