From 143353be4464510a8a2e13b64e3d15b49bffb535 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 24 Jan 2019 18:49:15 -0500 Subject: [PATCH] fix cli unit test --- tests/unit/test_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_cli.py b/tests/unit/test_cli.py index c8c105655..5cf643cc6 100644 --- a/tests/unit/test_cli.py +++ b/tests/unit/test_cli.py @@ -56,7 +56,7 @@ class CLITest(AsyncioTestCase): def test_help(self): self.assertIn( - 'usage: lbrynet [--help] [--version] [--api API]', self.shell(['--help']) + 'Usage: lbrynet [-v] [--api HOST:PORT]', self.shell(['--help']) ) # start is special command, with separate help handling self.assertIn( @@ -72,12 +72,12 @@ class CLITest(AsyncioTestCase): ) # account is a group, returns help implicitly self.assertIn( - '{add,balance,create,decrypt,encrypt,fund,list,lock,max_address_gap,remove,send,set,unlock}', + 'Return the balance of an account', self.shell(['account']) ) # account is a group, with explicit --help self.assertIn( - '{add,balance,create,decrypt,encrypt,fund,list,lock,max_address_gap,remove,send,set,unlock}', + 'Return the balance of an account', self.shell(['account', '--help']) ) # account add is a grouped command, returns usage implicitly