fix and unify remote skip test/collect reports

This commit is contained in:
holger krekel
2010-11-13 20:53:35 +01:00
parent d81ffaa980
commit 47d3e99083
6 changed files with 27 additions and 20 deletions

View File

@@ -88,8 +88,8 @@ class TestReportSerialization:
assert newrep.passed == rep.passed
assert newrep.failed == rep.failed
assert newrep.skipped == rep.skipped
if newrep.skipped:
assert len(newrep.reprcrash) == 3
if newrep.skipped and 'xfail' not in newrep.keywords:
assert len(newrep.longrepr) == 3
assert newrep.outcome == rep.outcome
assert newrep.when == rep.when
assert newrep.keywords == rep.keywords