class_docstr: Test the MITIFF Writer class.
docstr: Test basic writer operation save_datasets.
docstr_tok: ["Test","basic","writer","operation","save_datasets","."]
code: def test_save_datasets(self):
      """Test basic writer operation save_datasets."""
      from satpy.writers.mitiff import MITIFFWriter
  
      expected = [np.full((100, 200), 0)]
      dataset = self._get_test_datasets()
      w = MITIFFWriter(base_dir=self.base_dir)
      w.save_datasets(dataset)
      filename = (
          dataset[0].attrs["metadata_requirements"]["file_pattern"]
      ).format(start_time=dataset[0].attrs["start_time"])
      self._read_back_mitiff_and_check(
          os.path.join(self.base_dir, filename), expected
      )
  
imports: import logging
  import os
  import unittest
  import numpy
  from PIL import Image
label_desc: Use image node_id 17 for calling the TestMITIFFWriter obj's underlying member method code with example usage: obj.test_save_datasets() without return types