code: def experiment_name_conflict(storage, parent_config, child_config):
      """Generate an experiment name conflict"""
      exps = storage.fetch_experiments(
          {"name": "test"}
      ) + storage.fetch_experiments({"name": "test2"})
      for exp in exps:
          storage.delete_experiment(uid=exp["_id"])
      storage.create_experiment(parent_config)
      storage.create_experiment(child_config)
      return conflicts.ExperimentNameConflict(
          parent_config, parent_config
      )
  
file_path: orion/tests/unittests/core/io/conftest.py
imports: import copy
  import os
  import tempfile
  import pytest
  from orion.core.evc import conflicts
label_desc: Use image node_id 7 for calling a global function with example usage: experiment_name_conflict(storage, parent_config, child_config) and returns: conflicts