[py-svn] r38099 - py/trunk/py/test/rsession
fijal at codespeak.net
fijal at codespeak.net
Wed Feb 7 19:54:59 CET 2007
Author: fijal
Date: Wed Feb 7 19:54:51 2007
New Revision: 38099
Modified:
py/trunk/py/test/rsession/rsession.py
Log:
* RSession cannot work with nocapture, LSession can
* RSession is always boxed
Modified: py/trunk/py/test/rsession/rsession.py
==============================================================================
--- py/trunk/py/test/rsession/rsession.py (original)
+++ py/trunk/py/test/rsession/rsession.py Wed Feb 7 19:54:51 2007
@@ -27,9 +27,6 @@
if option.runbrowser and not option.startserver:
#print "--runbrowser implies --startserver"
option.startserver = True
- if option.nocapture:
- print "Cannot use nocapture with distributed testing"
- sys.exit(1)
if self.config.getvalue("dist_boxed"):
option.boxed = True
super(AbstractSession, self).fixoptions()
@@ -111,7 +108,12 @@
"""
def fixoptions(self):
super(RSession, self).fixoptions()
+ option = self.config.option
+ if option.nocapture:
+ print "Cannot use nocapture with distributed testing"
+ sys.exit(1)
config = self.config
+ config.option.boxed = True
try:
config.getvalue('dist_hosts')
except KeyError:
More information about the py-svn
mailing list