(
pytester: Pytester, run_and_parse: RunAndParse
)
| 1160 | |
| 1161 | |
| 1162 | def test_double_colon_split_method_issue469( |
| 1163 | pytester: Pytester, run_and_parse: RunAndParse |
| 1164 | ) -> None: |
| 1165 | pytester.makepyfile( |
| 1166 | """ |
| 1167 | import pytest |
| 1168 | class TestClass(object): |
| 1169 | @pytest.mark.parametrize('param', ["double::colon"]) |
| 1170 | def test_func(self, param): |
| 1171 | pass |
| 1172 | """ |
| 1173 | ) |
| 1174 | result, dom = run_and_parse() |
| 1175 | assert result.ret == 0 |
| 1176 | node = dom.find_first_by_tag("testcase") |
| 1177 | node.assert_attr(classname="test_double_colon_split_method_issue469.TestClass") |
| 1178 | node.assert_attr(name="test_func[double::colon]") |
| 1179 | |
| 1180 | |
| 1181 | def test_unicode_issue368(pytester: Pytester) -> None: |
nothing calls this directly
no test coverage detected