[py-dev] New issue 99 in py-trunk: unexpected pass crashes with junitxml plugin

issues-noreply at bitbucket.org issues-noreply at bitbucket.org
Fri May 21 04:20:55 CEST 2010


--- you can reply above this line ---

New issue 99: unexpected pass crashes with junitxml plugin
http://bitbucket.org/hpk42/py-trunk/issue/99/unexpected-pass-crashes-with-junitxml

Anonymous on Fri, 21 May 2010 04:20:55 +0200:

Description:
  Unexpected pass should cause the tests to report failure, however with the junitxml plugin it crashes with the following:

INTERNALERROR>     def append_failure(self, report):
INTERNALERROR>         self._opentestcase(report)
INTERNALERROR>         #msg = str(report.longrepr.reprtraceback.extraline)
INTERNALERROR>         self.appendlog('<failure message="test failure">%s</failure>',
INTERNALERROR> >           report.longrepr)
INTERNALERROR> E       AttributeError: 'ItemTestReport' object has no attribute 'longrepr'



-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.



More information about the Pytest-dev mailing list