code: def test_realign():
      assert spm.Realign._jobtype == "spatial"
      assert spm.Realign._jobname == "realign"
      assert spm.Realign().inputs.jobtype == "estwrite"
  
imports: import os
  import pytest
  from nipype.testing.fixtures import create_files_in_directory
  import nipype.interfaces.spm
  from nipype.interfaces.spm import no_spm
  import nipype.interfaces.matlab
label_desc: Use image node_id 3 for calling a global function with example usage: test_realign() without return types