class_docstr: Test the Scene's saving method.
class_docstr_tok: ["Test","the","Scene","'s","saving","method","."]
docstr: Calling 'save_datasets' with no valid datasets.
docstr_tok: ["Calling","'save_datasets","'","with","no","valid","datasets","."]
code: def test_save_datasets_missing_wishlist(self, tmp_path):
      """Calling 'save_datasets' with no valid datasets."""
      scn = Scene()
      scn._wishlist.add(make_cid(name="true_color"))
      pytest.raises(
          RuntimeError,
          scn.save_datasets,
          writer="geotiff",
          base_dir=tmp_path,
      )
      pytest.raises(KeyError, scn.save_datasets, datasets=["no_exist"])
  
file_path: satpy/satpy/tests/scene_tests/test_saving.py
imports: import os
  from datetime import datetime
  from unittest import mock
  import pytest
  import xarray
  from dask import array
  from satpy import Scene
  from satpy.tests.utils import make_cid, spy_decorator
label_desc: Use image node_id 4 for calling the TestSceneSaving obj's underlying member method code with example usage: obj.test_save_datasets_missing_wishlist(tmp_path) without return types