class_docstr: Test SEVIRI L2 BUFR Reader.
docstr: Test data loaded with SwathDefinition (default behaviour).
docstr_tok: ["Test","data","loaded","with","SwathDefinition","(","default","behaviour",")","."]
code: def test_data_with_swath_definition(input_file):
      """Test data loaded with SwathDefinition (default behaviour)."""
      bufr_obj = SeviriL2BufrData(input_file)
      with pytest.raises(NotImplementedError):
          bufr_obj.fh.get_area_def(None)
  
      # concatenate original test arrays as get_dataset will have read and concatented the data
      x1 = np.concatenate((DATA, DATA), axis=0)
      z = bufr_obj.get_data(DATASET_INFO)
      np.testing.assert_array_equal(z.values, x1)
  
imports: import sys
  import unittest
  from datetime import datetime
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from pyresample import geometry
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 4 for calling the TestSeviriL2BufrReader obj's underlying member method code with example usage: obj.test_data_with_swath_definition(input_file) without return types