class_docstr: Helper functions for testing.
  
  Primarily provided for tests that use fixture (and derived)
  `three_experiments_branch_same_name_trials_benchmarks`
class_docstr_tok: ["Helper","functions","for","testing",".","Primarily","provided","for","tests","that","use","fixture","(","and","derived",")","`","three_experiments_branch_same_name_trials_benchmarks","`"]
docstr: Check all versions of an experiment in given database
code: def check_unique_import(
      loaded_db,
      name,
      version,
      nb_trials,
      nb_child_trials=0,
      nb_versions=1,
      algo_state=None,
      trial_links=None,
  ):
      """Check all versions of an experiment in given database"""
      _Helpers.check_db(
          loaded_db,
          nb_exps=1 * nb_versions,
          nb_algos=1 * nb_versions,
          nb_trials=nb_trials * nb_versions,
          nb_benchmarks=0,
      )
      for i in range(nb_versions):
          _Helpers.check_exp(
              loaded_db,
              name,
              version + i,
              nb_trials=nb_trials,
              nb_child_trials=nb_child_trials,
              algo_state=algo_state,
              trial_links=trial_links,
          )
  
imports: import copy
  import os
  import pickle
  import zlib
  from collections import Counter
  from tempfile import NamedTemporaryFile
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.core.worker.trial import Trial
  from orion.storage.backup import _get_exp_key, dump_database, get_experiment_parent_links, get_experiment_root_links, get_trial_parent_links
label_desc: Use image node_id 6 for calling the _Helpers obj's underlying member method code with example usage: obj.check_unique_import(loaded_db, name, version, nb_trials, nb_child_trials, nb_versions, algo_state, trial_links) without return types