code: def test_no_name(capsys):
      """Try to run the command without providing an experiment name"""
      returncode = orion.core.cli.main(
          ["hunt", "--exp-max-trials", "10"]
      )
      assert returncode == 1
  
      captured = capsys.readouterr().err
  
      assert captured == "Error: No name provided for the experiment.\n"
  
imports: import pytest
  import orion.core.cli
label_desc: Use image node_id 3 for calling a global function with example usage: test_no_name(capsys) without return types