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."""