diff options
| author | Robert Collins <robertc@robertcollins.net> | 2009-10-24 20:28:19 +1100 |
|---|---|---|
| committer | Robert Collins <robertc@robertcollins.net> | 2009-10-24 20:28:19 +1100 |
| commit | b233594fc6031cc034e390387be187ae24c11e75 (patch) | |
| tree | 2f8dc1327c1a6311d5945b261bdb3c1540d9c306 /python/subunit/__init__.py | |
| parent | 2a9fac07e208637dcecf5d57fafa2b6bbbe0ef2c (diff) | |
| download | subunit-git-b233594fc6031cc034e390387be187ae24c11e75.tar.gz | |
Move expected failures to the details API.
Diffstat (limited to 'python/subunit/__init__.py')
| -rw-r--r-- | python/subunit/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/subunit/__init__.py b/python/subunit/__init__.py index 5c8585f..570af8b 100644 --- a/python/subunit/__init__.py +++ b/python/subunit/__init__.py @@ -276,7 +276,7 @@ class _InTest(_ParserState): def _xfail(self): self.parser.client.addExpectedFailure(self.parser._current_test, - RemoteError()) + details={}) def addExpectedFail(self, offset, line): """An 'xfail:' directive has been read.""" @@ -386,7 +386,7 @@ class _ReadingExpectedFailureDetails(_ReadingDetails): def _report_outcome(self): self.parser.client.addExpectedFailure(self.parser._current_test, - RemoteError(self.details_parser.get_message())) + details=self.details_parser.get_details()) def _outcome_label(self): return "xfail" |
