code: def test_dump_unknown_experiment(
      three_experiments_branch_same_name_trials_benchmarks,
      capsys,
      tmp_path,
  ):
      """Test dump unknown experiment"""
      dump_path = f"{tmp_path}/dump.pkl"
      try:
          execute(
              f"db dump -n i-dont-exist -o {dump_path}", assert_code=1
          )
          captured = capsys.readouterr()
          assert captured.err.startswith(
              "Error: No experiment found with query {'name': 'i-dont-exist'}. Nothing to dump."
          )
      finally:
          # Output file is created as soon as dst storage object is created in dump_database()
          # So, we still need to delete it here
          clean_dump(dump_path)
  
file_path: orion/tests/functional/commands/test_db_dump.py
imports: import os
  import pytest
  import orion.core.cli
  from orion.core.io.database.pickleddb import PickledDB
  from orion.storage.base import setup_storage
label_desc: Use image node_id 8 for calling a global function with example usage: test_dump_unknown_experiment(three_experiments_branch_same_name_trials_benchmarks, capsys, tmp_path) without return types