mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
Added tests for the fixed alias related command's synopsis
This commit is contained in:
parent
ffab4002aa
commit
ff6a77cc6b
@ -322,6 +322,14 @@ class Help(unittest.TestCase):
|
||||
help = str(cli.DeepCheckOptions())
|
||||
self.failUnless("deep-check [ALIAS:PATH]" in help, help)
|
||||
|
||||
def test_create_alias(self):
|
||||
help = str(cli.CreateAliasOptions())
|
||||
self.failUnless("create-alias ALIAS" in help, help)
|
||||
|
||||
def test_add_aliases(self):
|
||||
help = str(cli.AddAliasOptions())
|
||||
self.failUnless("add-alias ALIAS DIRCAP" in help, help)
|
||||
|
||||
class CLITestMixin:
|
||||
def do_cli(self, verb, *args, **kwargs):
|
||||
nodeargs = [
|
||||
|
Loading…
Reference in New Issue
Block a user