class_docstr: Test dataset grouping in MultiScene.
class_docstr_tok: ["Test","dataset","grouping","in","MultiScene","."]
docstr: Test grouping a MultiScene.
docstr_tok: ["Test","grouping","a","MultiScene","."]
code: def test_multi_scene_grouping(self, multi_scene, groups, scene1):
      """Test grouping a MultiScene."""
      multi_scene.group(groups)
      shared_ids_exp = {
          make_dataid(name="odd"),
          make_dataid(name="even"),
      }
      assert multi_scene.shared_dataset_ids == shared_ids_exp
      assert DataQuery(name="odd") not in scene1
      xr.testing.assert_allclose(
          multi_scene.scenes[0]["ds1"], scene1["ds1"]
      )
  
file_path: satpy/satpy/tests/multiscene_tests/test_misc.py
imports: import unittest
  from unittest import mock
  import pytest
  import xarray
  from satpy import DataQuery
  from satpy.tests.multiscene_tests.test_utils import _create_test_area, _create_test_dataset, _create_test_scenes
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 5 for calling the TestMultiSceneGrouping obj's underlying member method code with example usage: obj.test_multi_scene_grouping(multi_scene, groups, scene1) without return types