code: def test_info_no_hit(one_experiment, capsys):
      """Test info if no experiment with given name."""
      returncode = orion.core.cli.main(
          ["info", "--name", "i do not exist"]
      )
  
      assert returncode == 1
  
      captured = capsys.readouterr().err
  
      assert captured.startswith(
          "Error: No experiment with given name 'i do not exist'"
      )
  
file_path: orion/tests/functional/commands/test_info_command.py
imports: import orion.core.cli
  import orion.core.io.resolve_config
label_desc: Use image node_id 1 for calling a global function with example usage: test_info_no_hit(one_experiment, capsys) without return types