New issue 469: junitxml parses report.nodeid incorrectly
https://bitbucket.org/hpk42/pytest/issue/469/junitxml-parses-reportnodeid-incorrectly

Andrei Baidarov:

If test param contains '::' junitxml parses report.nodeid incorrectly. For 
example, for test

```
#!python

import pytest

@pytest.mark.parametrize('foo', ['1::2'])
def testA(foo):
    assert True
```

py.test --junitxml=1 test.py produces xml with classname="test.testA[1" and 
name="2]" instead of classname="test" and name="testA[1::2]".


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to