code: def test_no_exp(monkeypatch, orionstate, capsys):
      """Test that nothing is printed when there are no experiments."""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      orion.core.cli.main(["list"])
  
      captured = capsys.readouterr().out
  
      assert captured == "No experiment found\n"
  
file_path: orion/tests/functional/commands/test_list_command.py
imports: import os
  import orion.core.cli
label_desc: Use image node_id 1 for calling a global function with example usage: test_no_exp(monkeypatch, orionstate, capsys) without return types