Update test_junitxml.py to interpret XPASS as passed

This commit is contained in:
Raphael Pierzina 2016-08-15 23:58:16 +01:00
parent 225341cf2c
commit 55ec1d7f56
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class TestPython:
result, dom = runandparse(testdir)
assert result.ret
node = dom.find_first_by_tag("testsuite")
node.assert_attr(name="pytest", errors=0, failures=1, skips=3, tests=5)
node.assert_attr(name="pytest", errors=0, failures=1, skips=2, tests=5)
def test_timing_function(self, testdir):
testdir.makepyfile("""