Skip to content

Commit

Permalink
Tests: Expand start_stop_reset test.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Mar 1, 2022
1 parent fc4be16 commit 8fc02e7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,14 @@ def assert_status_down():
assert "down" in result.output
assert "http" not in result.output

# Start instance.
# Start instance (non-blocking).
runner: CliRunner = CliRunner()
result: Result = runner.invoke(
cli.cli, ["start", "--no-browser", "--no-pull", "--wait=0"]
)
assert result.exit_code == 0

# Start instance again (blocking, should be no-op).
runner: CliRunner = CliRunner()
result: Result = runner.invoke(
cli.cli, ["start", "--no-browser", "--no-pull", "--wait=300"]
Expand Down

0 comments on commit 8fc02e7

Please sign in to comment.