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