class_docstr: Test methods for renaming of missing dimensions
class_docstr_tok: ["Test","methods","for","renaming","of","missing","dimensions"]
docstr: Verify initialisation with different priors generates a side-effect conflict
docstr_tok: ["Verify","initialisation","with","different","priors","generates","a","side-effect","conflict"]
code: def test_init_different_prior(
      self, missing_dimension_conflict, new_dimension_conflict
  ):
      """Verify initialisation with different priors generates a side-effect conflict"""
      assert not missing_dimension_conflict.is_resolved
      assert not new_dimension_conflict.is_resolved
      resolution = missing_dimension_conflict.RenameDimensionResolution(
          missing_dimension_conflict, new_dimension_conflict
      )
      assert missing_dimension_conflict.is_resolved
      assert new_dimension_conflict.is_resolved
      assert len(resolution.new_conflicts) == 1
      assert isinstance(
          resolution.new_conflicts[0],
          conflicts.ChangedDimensionConflict,
      )
      assert (
          resolution.new_conflicts[0].old_prior
          == missing_dimension_conflict.prior
      )
      assert (
          resolution.new_conflicts[0].new_prior
          == new_dimension_conflict.prior
      )
  
imports: import pytest
  from orion.algo.space import Dimension
  from orion.core.evc import adapters, conflicts
  from orion.testing.evc import add_default_config_for_missing
label_desc: Use image node_id 2 for calling the TestRenameDimensionResolution obj's underlying member method code with example usage: obj.test_init_different_prior(missing_dimension_conflict, new_dimension_conflict) without return types