code: def test_two_related_w_a_wout_c(family_with_trials, capsys):
      """Test two related experiments with --all."""
      orion.core.cli.main(["status", "--all"])
  
      captured = capsys.readouterr().out
  
      expected = """\
  test_double_exp-v1
  ==================
  id                                status
  --------------------------------  -----------
  8032fb2ba95ba375c9f457ae5615b598  broken
  156d55adbfc36923421cb05da1116a34  completed
  9a351eb75be219e27327e16dcb2a7b3b  interrupted
  95a525048fef91ea2cd0ca807ddaa46a  new
  3a6998c7b0d659a272b0fde382d66dee  reserved
  de370b6f6db68b3b8060ec76c9715835  suspended
  
  
    test_double_exp_child-v1
    ========================
    id                                status
    --------------------------------  -----------
    be3832db95702cd617eb4215d9eaa7dc  broken
    cd04e8609a05fb58c1710e99d306a20f  completed
    d9aaabf813d38a25b1646b9c982b59ec  interrupted
    10ef14fdde144550ea9e11d667003bbf  new
    7d80176152e68a0fb758ca61cac15a9a  reserved
    4cd0ee66c65cb32ee20a7b1e2cc47cdc  suspended
  
  
  """
  
      assert captured == expected
  
imports: import os
  import pytest
  import yaml
  import orion.core.cli
  from orion.core.io.experiment_builder import ExperimentBuilder
  from orion.testing.state import OrionState
label_desc: Use image node_id 18 for calling a global function with example usage: test_two_related_w_a_wout_c(family_with_trials, capsys) without return types