code: def test_one_exp(single_with_trials):
      """Test that one exp is deleted properly"""
      experiments = setup_storage().fetch_experiments({})
      uid = experiments[0]["_id"]
      assert (
          setup_storage().get_algorithm_lock_info(uid=uid).locked == 0
      )
      with setup_storage().acquire_algorithm_lock(uid=uid):
          assert (
              setup_storage().get_algorithm_lock_info(uid=uid).locked
              == 1
          )
          execute("db release -f test_single_exp")
          assert (
              setup_storage().get_algorithm_lock_info(uid=uid).locked
              == 0
          )
  
file_path: orion/tests/functional/commands/test_db_release.py
imports: import pytest
  import orion.core.cli
  from orion.storage.base import setup_storage
label_desc: Use image node_id 4 for calling a global function with example usage: test_one_exp(single_with_trials) without return types