mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-27 06:20:25 +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())
|
help = str(cli.DeepCheckOptions())
|
||||||
self.failUnless("deep-check [ALIAS:PATH]" in help, help)
|
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:
|
class CLITestMixin:
|
||||||
def do_cli(self, verb, *args, **kwargs):
|
def do_cli(self, verb, *args, **kwargs):
|
||||||
nodeargs = [
|
nodeargs = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user