summaryrefslogtreecommitdiff
path: root/python/subunit
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2008-12-08 11:35:54 +1100
committerRobert Collins <robertc@robertcollins.net>2008-12-08 11:35:54 +1100
commit89c349ed68391358088242c1cc660351791cbd7f (patch)
tree17b54ab6a1ca65d60a721c59c0f8f5a0b91c8a88 /python/subunit
parent94eae0a301e09979efd470f2c308286d01d94800 (diff)
downloadsubunit-git-89c349ed68391358088242c1cc660351791cbd7f.tar.gz
Really aggregate lines from XFAIL and SUCCESS comments.
Diffstat (limited to 'python/subunit')
-rw-r--r--python/subunit/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py
index 4d2d609..d6093b9 100644
--- a/python/subunit/__init__.py
+++ b/python/subunit/__init__.py
@@ -171,7 +171,10 @@ class TestProtocolServer(object):
if line == "]\n":
self.endQuote(line)
elif self.state in (TestProtocolServer.READING_FAILURE,
- TestProtocolServer.READING_ERROR, TestProtocolServer.READING_SKIP):
+ TestProtocolServer.READING_ERROR, TestProtocolServer.READING_SKIP,
+ TestProtocolServer.READING_SUCCESS,
+ TestProtocolServer.READING_XFAIL
+ ):
self._appendMessage(line)
else:
parts = line.split(None, 1)