MCPcopy
hub / github.com/treeverse/dvc / param

Function param

tests/func/test_data_status.py:619–627  ·  view source on GitHub ↗

Uses test id from the first value.

(*values)

Source from the content-addressed store, hash-verified

617
618
619def param(*values):
620 """Uses test id from the first value."""
621 first = values[0]
622 _id = (
623 ",".join(first)
624 if isinstance(first, Iterable) and not isinstance(first, str)
625 else first
626 )
627 return pytest.param(*values, id=_id)
628
629
630@pytest.mark.parametrize(

Callers 1

with_aliasesFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected