code: def test_info_cmdline_api(one_experiment, capsys):
      """Test info if config built using cmdline api"""
      orion.core.cli.main(["info", "--name", "test_single_exp"])
  
      captured = capsys.readouterr().out
  
      assert "test_single_exp" in captured
      assert "Commandline" in captured
  
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 7 for calling a global function with example usage: test_info_cmdline_api(one_experiment, capsys) without return types