code: def test_to_compatible_name():
      assert (
          to_compatible_name("executor/hey-ha_HO")
          == "executor-hey-ha-ho"
      )
  
file_path: jina/tests/unit/orchestrate/deployments/config/test_helper.py
imports: import json
  import os
  import pytest
  from hubble.executor import HubExecutor
  from hubble.executor.hubio import HubIO
  from jina import __version__
  from jina.orchestrate.deployments.config.helper import get_base_executor_version, get_image_name, to_compatible_name
label_desc: Use image node_id 2 for calling a global function with example usage: test_to_compatible_name() without return types