code: def test_dicom_to_nifti(self):
      series_dir = os.path.join(
          self.dicom_dataset,
          "1.2.826.0.1.3680043.8.274.1.1.8323329.686549.1629744177.996087",
      )
      result = dicom_to_nifti(series_dir)
  
      assert os.path.exists(result)
      assert result.endswith(".nii.gz")
      os.unlink(result)
  
file_path: MONAILabel/tests/unit/datastore/test_convert.py
imports: import os
  import tempfile
  import unittest
  import numpy
  from monai.transforms import LoadImage
  from monailabel.datastore.utils.convert import binary_to_image, dicom_to_nifti, nifti_to_dicom_seg
label_desc: Use image node_id 1 for calling the TestConvert obj's underlying member method code with example usage: obj.test_dicom_to_nifti() without return types