code: def test_new_code_triggers_code_conflict_with_name_only(capsys):
      """Test that a different git hash is generating a child, even if cmdline is not passed"""
      name = "full_x"
      error_code = orion.core.cli.main(
          (
              "hunt --init-only -n {name} --manual-resolution --enable-evc"
          )
          .format(name=name)
          .split(" ")
      )
      assert error_code == 1
  
      captured = capsys.readouterr()
      assert captured.out == ""
      assert (
          "Configuration is different and generates a branching event"
          in captured.err
      )
      assert "--code-change-type" in captured.err
  
imports: import logging
  import os
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.storage.base import setup_storage
label_desc: Use image node_id 39 for calling a global function with example usage: test_new_code_triggers_code_conflict_with_name_only(capsys) without return types