class_docstr: Test the commands of the prompt
class_docstr_tok: ["Test","the","commands","of","the","prompt"]
docstr: Verify that commit will quit when all conflicts are resolved
docstr_tok: ["Verify","that","commit","will","quit","when","all","conflicts","are","resolved"]
code: def test_commit_quit_if_solved(self, conflicts, branch_solver_prompt):
      """Verify that commit will quit when all conflicts are resolved"""
      branch_solver_prompt.do_auto("")
      conflicts.conflicts = [conflicts.get_resolved()[0]]
      assert conflicts.are_resolved
      assert branch_solver_prompt.do_commit("") is True
  
imports: import shlex
  import pytest
  from orion.core import evc
  from orion.core.io.experiment_branch_builder import ExperimentBranchBuilder
  from orion.core.io.interactive_commands.branching_prompt import BranchingPrompt
  from orion.core.io.space_builder import DimensionBuilder
label_desc: Use image node_id 50 for calling the TestCommands obj's underlying member method code with example usage: obj.test_commit_quit_if_solved(conflicts, branch_solver_prompt) without return types