code: def test_get_measurement_scales():
      workspace, module = make_obj_workspace(
          numpy.zeros((0, 3), int),
          numpy.zeros((0, 3), int),
          dict(image=numpy.zeros((20, 10), bool)),
          dict(image=numpy.zeros((20, 10), bool)),
      )
  
      scales = module.get_measurement_scales(
          workspace.pipeline,
          "Image",
          cellprofiler.modules.measureobjectoverlap.C_IMAGE_OVERLAP,
          cellprofiler.modules.measureobjectoverlap.FTR_RAND_INDEX,
          None,
      )
  
      assert len(scales) == 1
      assert scales[0] == "_".join((GROUND_TRUTH_OBJ, ID_OBJ))
  
file_path: CellProfiler/tests/frontend/modules/test_measureobjectoverlap.py
imports: import numpy
  import numpy.random
  import scipy.ndimage
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureobjectoverlap
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_measurement_scales() without return types