class_docstr: Test individual functions used for blending.
class_docstr_tok: ["Test","individual","functions","used","for","blending","."]
docstr: Test exception is raised when bad 'blend_type' is used.
docstr_tok: ["Test","exception","is","raised","when","bad","'blend_type","'","is","used","."]
code: def test_blend_two_scenes_bad_blend_type(
      self, multi_scene_and_weights, groups
  ):
      """Test exception is raised when bad 'blend_type' is used."""
      from functools import partial
  
      multi_scene, weights = multi_scene_and_weights
  
      simple_groups = {
          DataQuery(name="CloudType"): groups[
              DataQuery(name="CloudType")
          ]
      }
      multi_scene.group(simple_groups)
      weights = [weights[0][0], weights[1][0]]
      stack_func = partial(
          stack, weights=weights, blend_type="i_dont_exist"
      )
      with pytest.raises(
          ValueError,
          match="Unknown weighted blending type: .*.Expected one of: .*",
      ):
          multi_scene.blend(blend_function=stack_func)
  
imports: from datetime import datetime
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy import DataQuery, Scene
  from satpy.multiscene import stack, timeseries
  from satpy.tests.multiscene_tests.test_utils import DEFAULT_SHAPE, _create_test_area, _create_test_dataset, _create_test_int8_dataset
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling the TestBlendFuncs obj's underlying member method code with example usage: obj.test_blend_two_scenes_bad_blend_type(multi_scene_and_weights, groups) without return types