[py-svn] r45665 - py/branch/session-cleanups/py/test/rsession/testing
fijal at codespeak.net
fijal at codespeak.net
Wed Aug 15 12:35:46 CEST 2007
Author: fijal
Date: Wed Aug 15 12:35:45 2007
New Revision: 45665
Modified:
py/branch/session-cleanups/py/test/rsession/testing/test_reporter.py
Log:
Skip broken test
Modified: py/branch/session-cleanups/py/test/rsession/testing/test_reporter.py
==============================================================================
--- py/branch/session-cleanups/py/test/rsession/testing/test_reporter.py (original)
+++ py/branch/session-cleanups/py/test/rsession/testing/test_reporter.py Wed Aug 15 12:35:45 2007
@@ -25,6 +25,7 @@
from py.__.test.rsession.hostmanage import HostInfo
from py.__.test.rsession.box import Box
from py.__.test.rsession.testing.basetest import BasicRsessionTest
+from py.__.test.rsession.master import itemgen
import sys
from StringIO import StringIO
@@ -111,7 +112,7 @@
rootcol = py.test.collect.Directory(tmpdir)
hosts = [HostInfo('localhost')]
r = self.reporter(config, hosts)
- list(rootcol._tryiter(reporterror=lambda x : AbstractSession.reporterror(r.report, x)))
+ list(itemgen([rootcol], r.report))
cap = py.io.StdCaptureFD()
boxfun()
@@ -132,7 +133,7 @@
r = self.reporter(config, [host])
r.report(repevent.TestStarted([host], config.topdir, ["a"]))
r.report(repevent.RsyncFinished())
- list(rootcol._tryiter(reporterror=lambda x : AbstractSession.reporterror(r.report, x)))
+ list(itemgen([rootcol], r.report))
r.report(repevent.TestFinished())
return r
@@ -190,6 +191,7 @@
reporter = RemoteReporter
def test_still_to_go(self):
+ py.test.skip("XXX fix it, there is shadowed internal reporting problem")
self._test_still_to_go()
def test_report_received_item_outcome(self):
More information about the py-svn
mailing list