fix and test "-rP" option to show xpass-test ids

--HG--
branch : trunk
This commit is contained in:
holger krekel
2010-05-19 16:52:03 +02:00
parent 2229d2d947
commit 20424a9c76
2 changed files with 22 additions and 1 deletions

View File

@@ -234,7 +234,7 @@ def pytest_terminal_summary(terminalreporter):
for char in tr.reportchars:
if char == "x":
show_xfailed(terminalreporter, lines)
elif char == "X":
elif char == "P":
show_xpassed(terminalreporter, lines)
elif char == "f":
show_failed(terminalreporter, lines)