code: def test_python_api(with_experiment_using_python_api, capsys):
      """Test list if containing exps from cmdline api and python api"""
      orion.core.cli.main(["list"])
  
      captured = capsys.readouterr().out
  
      assert captured == " test_single_exp-v1\n from-python-api-v1\n"
  
file_path: orion/tests/functional/commands/test_list_command.py
imports: import os
  import orion.core.cli
label_desc: Use image node_id 5 for calling a global function with example usage: test_python_api(with_experiment_using_python_api, capsys) without return types