From f417e2a113c10b1eaff1731fc0c98985ac5aef0a Mon Sep 17 00:00:00 2001 From: Andrew Beveridge Date: Thu, 31 Jan 2019 01:29:35 +0000 Subject: [PATCH] Fixed test --- tests/test_pysonofflan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_pysonofflan.py b/tests/test_pysonofflan.py index 316e83e..2a87239 100644 --- a/tests/test_pysonofflan.py +++ b/tests/test_pysonofflan.py @@ -22,7 +22,7 @@ def test_cli_no_args(self): """Test the CLI.""" runner = CliRunner() result = runner.invoke(cli.cli) - assert 'No host name given - try discovery mode' in result.output + assert 'No host name given, see usage below' in result.output def test_cli_invalid_arg(self): """Test the CLI.""" @@ -47,7 +47,7 @@ def test_cli_state(self): """Test the CLI.""" runner = CliRunner() result = runner.invoke(cli.cli, ['state']) - assert 'No host name given' in result.output + assert 'No host name given, see usage below' in result.output def test_unconnectable_host_state(self): """Test the CLI."""