class_docstr: Test methods for renaming of missing dimensions
class_docstr_tok: ["Test","methods","for","renaming","of","missing","dimensions"]
docstr: Verify reverting resolution set conflict to unresolved and deprecate the side-effect
  conflict
docstr_tok: ["Verify","reverting","resolution","set","conflict","to","unresolved","and","deprecate","the","side-effect","conflict"]
code: def test_revert_different_prior(
      self,
      missing_dimension_conflict,
      new_dimension_conflict,
      rename_dimension_resolution,
  ):
      """Verify reverting resolution set conflict to unresolved and deprecate the side-effect
      conflict
      """
      assert missing_dimension_conflict.is_resolved
      assert new_dimension_conflict.is_resolved
      assert len(rename_dimension_resolution.new_conflicts) == 1
      new_conflicts = rename_dimension_resolution.new_conflicts
      assert rename_dimension_resolution.revert() == new_conflicts
      assert len(rename_dimension_resolution.new_conflicts) == 0
      assert new_conflicts[0].is_resolved
      assert not missing_dimension_conflict.is_resolved
      assert not new_dimension_conflict.is_resolved
      assert missing_dimension_conflict.resolution is None
      assert new_dimension_conflict.resolution is None
  
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 7 for calling the TestRenameDimensionResolution obj's underlying member method code with example usage: obj.test_revert_different_prior(missing_dimension_conflict, new_dimension_conflict, rename_dimension_resolution) without return types