code: def test_no_args(capsys):
      """Test that help is printed when no args are given."""
      with pytest.raises(SystemExit):
          orion.core.cli.main(["plot"])
  
      captured = capsys.readouterr().err
  
      assert "usage:" in captured
      assert "the following arguments are required: kind" in captured
      assert "Traceback" not in captured
  
imports: import random
  import pytest
  import orion.core.cli
  import orion.plotting.backend_plotly
  from orion.core.cli.plot import IMAGE_TYPES, VALID_TYPES
  from orion.plotting.base import SINGLE_EXPERIMENT_PLOTS
  from orion.storage.base import setup_storage
  from orion.testing import AssertNewFile
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_args(capsys) without return types