diff options
| author | Robert Collins <robertc@robertcollins.net> | 2008-12-08 11:35:54 +1100 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2008-12-08 11:35:54 +1100 |
| commit | 89c349ed68391358088242c1cc660351791cbd7f (patch) | |
| tree | 17b54ab6a1ca65d60a721c59c0f8f5a0b91c8a88 /python | |
| parent | 94eae0a301e09979efd470f2c308286d01d94800 (diff) | |
| download | subunit-git-89c349ed68391358088242c1cc660351791cbd7f.tar.gz | |
Really aggregate lines from XFAIL and SUCCESS comments.
Diffstat (limited to 'python')
| -rw-r--r-- | python/subunit/__init__.py | 5 |
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) |
