code: def test_no_args(capsys):
      """Test that help is printed when no args are given."""
      with pytest.raises(SystemExit):
          orion.core.cli.main([])
  
      captured = capsys.readouterr().out
  
      assert "usage:" in captured
      assert "Traceback" not in captured
  
imports: import os
  import shutil
  import subprocess
  import sys
  import tempfile
  from collections import defaultdict
  from contextlib import contextmanager
  import numpy
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.core.cli.hunt import workon
  from orion.testing import OrionState
label_desc: Use image node_id 24 for calling a global function with example usage: test_no_args(capsys) without return types