code: def test_relationships_one():
      img = numpy.zeros((10, 10))
      img[2:7, 2:7] = 0.5
      labels = numpy.zeros((10, 10), int)
      labels[3:6, 3:6] = 1
      workspace, module = make_workspace(img, labels)
      module.method.value = (
          cellprofiler.modules.identifysecondaryobjects.M_PROPAGATION
      )
      module.threshold.threshold_scope.value = (
          cellprofiler.modules.threshold.TS_GLOBAL
      )
      module.threshold.global_operation.value = (
          cellprofiler.modules.threshold.TM_MANUAL
      )
      module.threshold.manual_threshold.value = 0.25
      module.run(workspace)
      m = workspace.measurements
      assert isinstance(m, cellprofiler_core.measurement.Measurements)
      result = m.get_relationships(
          module.module_num,
          cellprofiler.modules.identifysecondaryobjects.R_PARENT,
          module.x_name.value,
          module.y_name.value,
      )
      assert len(result) == 1
      assert result[R_FIRST_IMAGE_NUMBER][0] == 1
      assert result[R_SECOND_IMAGE_NUMBER][0] == 1
      assert result[R_FIRST_OBJECT_NUMBER][0] == 1
      assert result[R_SECOND_OBJECT_NUMBER][0] == 1
  
imports: import io
  import centrosome.threshold
  import numpy
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_FLOAT, COLTYPE_INTEGER, R_FIRST_IMAGE_NUMBER, R_SECOND_IMAGE_NUMBER, R_FIRST_OBJECT_NUMBER, R_SECOND_OBJECT_NUMBER
  from cellprofiler_core.constants.module._identify import TS_GLOBAL, O_TWO_CLASS, O_FOREGROUND
  import tests.frontend.modules
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.identifysecondaryobjects
  import cellprofiler.modules.threshold
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 25 for calling a global function with example usage: test_relationships_one() without return types