code: def test_two_exp(capsys, two_experiments):
      """Test that experiment and child are printed."""
      orion.core.cli.main(["list"])
  
      captured = capsys.readouterr().out
  
      assert (
          captured
          == """\
   test_double_exp-v1┐
                     └test_double_exp_child-v1
  """
      )
  
file_path: orion/tests/functional/commands/test_list_command.py
imports: import os
  import orion.core.cli
label_desc: Use image node_id 7 for calling a global function with example usage: test_two_exp(capsys, two_experiments) without return types