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

Method test_idmaker_with_paramset_id

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

Source from the content-addressed store, hash-verified

623 assert result == ["a", "3-4"]
624
625 def test_idmaker_with_paramset_id(self) -> None:
626 result = idmaker(
627 ("a", "b"),
628 [pytest.param(1, 2, id="me"), pytest.param(3, 4, id="you")],
629 ids=["a", None],
630 )
631 assert result == ["me", "you"]
632
633 def test_idmaker_with_ids_unique_names(self) -> None:
634 result = idmaker(

Callers

nothing calls this directly

Calls 2

idmakerFunction · 0.90
paramMethod · 0.80

Tested by

no test coverage detected