class_docstr: Mock SEVIRI L2 AMV BUFR data.
docstr: Initialize by mocking test data for testing the SEVIRI L2 BUFR reader.
docstr_tok: ["Initialize","by","mocking","test","data","for","testing","the","SEVIRI","L2","BUFR","reader","."]
code: def __init__(self, filename):
      """Initialize by mocking test data for testing the SEVIRI L2 BUFR reader."""
      from satpy.readers.seviri_l2_bufr import SeviriL2BufrFileHandler
  
      with mock.patch("satpy.readers.seviri_l2_bufr.np.fromfile"):
          self.fh = SeviriL2BufrFileHandler(
              filename,
              FILENAME_INFO2,
              filetype_info={"file_type": "seviri_l2_bufr_amv"},
              with_area_definition=True,
          )
  
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 1 to create a new SeviriL2AMVBufrData object  with example: obj = SeviriL2AMVBufrData(filename)