refactoring

This commit is contained in:
Matthias Bisping 2022-05-23 10:40:28 +02:00
parent a7ffaeb18f
commit 13888524fb

View File

@ -35,8 +35,7 @@ def test_pipeline(
if core_operation is Nothing:
pytest.skip(f"No operation defined for parameter combination: {item_type=}, {one_to_many=}")
output = compose(llift(unpack), client_pipeline)(input_data_items, metadata)
if n_items > 0:
assert len(output) > 0
assert n_items == 0 or len(output) > 0
assert output == targets