projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb0297
)
test_cli: oops, fix tests after recent stdout/stderr cleanup
author
Brian Warner
<warner@allmydata.com>
Tue, 12 Aug 2008 21:46:34 +0000
(14:46 -0700)
committer
Brian Warner
<warner@allmydata.com>
Tue, 12 Aug 2008 21:46:34 +0000
(14:46 -0700)
src/allmydata/test/test_cli.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_cli.py
b/src/allmydata/test/test_cli.py
index da358af7c8451c5fdb134f2ffbb0e607859caf6b..464a597aefde1220761cb5e743ab6d4ec1accb90 100644
(file)
--- a/
src/allmydata/test/test_cli.py
+++ b/
src/allmydata/test/test_cli.py
@@
-66,12
+66,12
@@
class CLI(unittest.TestCase):
self.failUnlessEqual(o.where, "subdir")
def _dump_cap(self, *args):
- out,err = StringIO(), StringIO()
config = debug.DumpCapOptions()
+ config.stdout,config.stderr = StringIO(), StringIO()
config.parseOptions(args)
- debug.dump_cap(config
, out, err
)
- self.failIf(err.getvalue())
- output = out.getvalue()
+ debug.dump_cap(config)
+ self.failIf(
config.std
err.getvalue())
+ output =
config.std
out.getvalue()
return output
def test_dump_cap_chk(self):