code: def test_run(capsys: Capture) -> None:
      main(["bokeh", "secret"])
      out, err = capsys.readouterr()
      assert err == ""
      assert len(out) == 45
      assert out[-1] == "\n"
  
file_path: bokeh/tests/unit/bokeh/command/subcommands/test_secret.py
imports: from __future__ import annotations
  import pytest
  from bokeh.command.bootstrap import main
  from tests.support.util.types import Capture
  import bokeh.command.subcommands.secret
label_desc: Use image node_id 5 for calling a global function with example usage: test_run(capsys) without return types