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

Function test_double_colon_split_function_issue469

testing/test_junitxml.py:1144–1159  ·  view source on GitHub ↗
(
    pytester: Pytester, run_and_parse: RunAndParse
)

Source from the content-addressed store, hash-verified

1142
1143
1144def test_double_colon_split_function_issue469(
1145 pytester: Pytester, run_and_parse: RunAndParse
1146) -> None:
1147 pytester.makepyfile(
1148 """
1149 import pytest
1150 @pytest.mark.parametrize('param', ["double::colon"])
1151 def test_func(param):
1152 pass
1153 """
1154 )
1155 result, dom = run_and_parse()
1156 assert result.ret == 0
1157 node = dom.find_first_by_tag("testcase")
1158 node.assert_attr(classname="test_double_colon_split_function_issue469")
1159 node.assert_attr(name="test_func[double::colon]")
1160
1161
1162def test_double_colon_split_method_issue469(

Callers

nothing calls this directly

Calls 4

run_and_parseFunction · 0.85
find_first_by_tagMethod · 0.80
assert_attrMethod · 0.80
makepyfileMethod · 0.45

Tested by

no test coverage detected