MCPcopy
hub / github.com/pytest-dev/pytest / test_mangle_test_address

Function test_mangle_test_address

testing/test_junitxml.py:1002–1007  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1000
1001
1002def test_mangle_test_address() -> None:
1003 from _pytest.junitxml import mangle_test_address
1004
1005 address = "::".join(["a/my.py.thing.py", "Class", "method", "[a-1-::]"])
1006 newnames = mangle_test_address(address)
1007 assert newnames == ["a.my.py.thing", "Class", "method", "[a-1-::]"]
1008
1009
1010def test_dont_configure_on_workers(tmp_path: Path) -> None:

Callers

nothing calls this directly

Calls 2

mangle_test_addressFunction · 0.90
joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…