fix for cli test

This commit is contained in:
Lex Berezhny 2018-08-25 23:50:48 -04:00
parent 2fca29144e
commit 0abbc20899

View file

@ -92,9 +92,9 @@ class CLITest(unittest.TestCase):
def test_deprecated_command_daemon_not_started(self):
actual_output = StringIO()
with contextlib.redirect_stdout(actual_output):
main(["channel_list_mine"])
main(["wallet_balance"])
self.assertEqual(
actual_output.getvalue().strip(),
"channel_list_mine is deprecated, using channel_list.\n"
"wallet_balance is deprecated, using account_balance.\n"
"Could not connect to daemon. Are you sure it's running?"
)