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:
c67f29a
)
src/allmydata/test/test_cli.py: add test for 'tahoe debug trial' options help. refs...
author
david-sarah
<david-sarah@jacaranda.org>
Wed, 19 Jan 2011 02:42:24 +0000
(18:42 -0800)
committer
david-sarah
<david-sarah@jacaranda.org>
Wed, 19 Jan 2011 02:42:24 +0000
(18:42 -0800)
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 560c6759a81dbc30115051d4e6ca3d535aa243e1..46527f72fcd6957a6bb0b866a68e720964225310 100644
(file)
--- a/
src/allmydata/test/test_cli.py
+++ b/
src/allmydata/test/test_cli.py
@@
-504,6
+504,11
@@
class Help(unittest.TestCase):
help = str(cli.AddAliasOptions())
self.failUnless("add-alias ALIAS[:] DIRCAP" in help, help)
+ def test_debug_trial(self):
+ help = str(debug.TrialOptions())
+ self.failUnless("debug trial [options] [[file|package|module|TestCase|testmethod]...]" in help, help)
+ self.failUnless("The 'tahoe debug trial' command uses the correct imports" in help, help)
+
class CreateAlias(GridTestMixin, CLITestMixin, unittest.TestCase):