code: def test_dump_experiment_test_single_exp(
      three_experiments_branch_same_name_trials_benchmarks,
      testing_helpers,
      given_version,
      expected_version,
      nb_trials,
      nb_child_trials,
      algo_state,
      tmp_path,
  ):
      """Test dump experiment test_single_exp"""
      dump_path = f"{tmp_path}/dump.pkl"
      try:
          command = f"db dump -n test_single_exp -o {dump_path}"
          if given_version is not None:
              command += f" -v {given_version}"
          execute(command)
          assert os.path.isfile(dump_path)
          dumped_db = PickledDB(dump_path)
          testing_helpers.check_unique_import(
              dumped_db,
              "test_single_exp",
              expected_version,
              nb_trials=nb_trials,
              nb_child_trials=nb_child_trials,
              algo_state=algo_state,
          )
      finally:
          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 9 for calling a global function with example usage: test_dump_experiment_test_single_exp(three_experiments_branch_same_name_trials_benchmarks, testing_helpers, given_version, expected_version, nb_trials, nb_child_trials, algo_state, tmp_path) without return types