MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_idmaker_with_ids

Method test_idmaker_with_ids

testing/python/metafunc.py:619–623  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

617 )
618
619 def test_idmaker_with_ids(self) -> None:
620 result = idmaker(
621 ("a", "b"), [pytest.param(1, 2), pytest.param(3, 4)], ids=["a", None]
622 )
623 assert result == ["a", "3-4"]
624
625 def test_idmaker_with_paramset_id(self) -> None:
626 result = idmaker(

Callers

nothing calls this directly

Calls 2

idmakerFunction · 0.90
paramMethod · 0.80

Tested by

no test coverage detected