code: def test_load_v02():
      file = tests.frontend.modules.get_test_resources_directory(
          "smooth/v2.pipeline"
      )
      with open(file, "r") as fd:
          data = fd.read()
  
      pipeline = cellprofiler_core.pipeline.Pipeline()
      pipeline.load(io.StringIO(data))
      assert len(pipeline.modules()) == 1
      smooth = pipeline.modules()[0]
      assert isinstance(smooth, cellprofiler.modules.smooth.Smooth)
      assert smooth.image_name == "InputImage"
      assert smooth.filtered_image_name == "OutputImage"
      assert smooth.wants_automatic_object_size
      assert smooth.object_size == 19
      assert (
          smooth.smoothing_method
          == cellprofiler.modules.smooth.MEDIAN_FILTER
      )
      assert not smooth.clip
  
imports: import io
  import centrosome.filter
  import centrosome.smooth
  import numpy
  import scipy.ndimage
  import skimage.restoration
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler.modules.smooth
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_v02() without return types