code: def test_callback_normal(tmpdir, plugin):
      tmpdir.chdir()
  
      so = Status()
      wf = pe.Workflow(name="test", base_dir=tmpdir.strpath)
      f_node = pe.Node(
          niu.Function(function=func, input_names=[], output_names=[]),
          name="f_node",
      )
      wf.add_nodes([f_node])
      wf.config["execution"] = {
          "crashdump_dir": wf.base_dir,
          "poll_sleep_duration": 2,
      }
      wf.run(
          plugin=plugin, plugin_args={"status_callback": so.callback}
      )
      assert so.statuses == [("f_node", "start"), ("f_node", "end")]
  
file_path: nipype/nipype/pipeline/plugins/tests/test_callback.py
imports: from time import sleep
  import pytest
  import nipype.interfaces.utility
  import nipype.pipeline.engine
label_desc: Use image node_id 3 for calling a global function with example usage: test_callback_normal(tmpdir, plugin) without return types