diff --git a/tests/test_cli.py b/tests/test_cli.py index 087f50a..526f6a1 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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"]