src/allmydata/test/test_cli.py: add test for 'tahoe debug trial' options help. refs #1296

This commit is contained in:
david-sarah 2011-01-18 18:42:24 -08:00
parent c67f29ac5d
commit 8f0af33ba6

View File

@ -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):