Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Jan 31, 2019
1 parent 85dc5a0 commit f417e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pysonofflan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand All @@ -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."""
Expand Down

0 comments on commit f417e2a

Please sign in to comment.