class_docstr: Test the FciL2NCFileHandler when reading and extracting byte data.
class_docstr_tok: ["Test","the","FciL2NCFileHandler","when","reading","and","extracting","byte","data","."]
docstr: Test the execution of the get_dataset function.
docstr_tok: ["Test","the","execution","of","the","get_dataset","function","."]
code: def test_byte_extraction(self):
      """Test the execution of the get_dataset function."""
      # Value of 1 is expected to be returned for this test
      dataset = self.byte_reader.get_dataset(
          make_dataid(name="cloud_mask_test_flag", resolution=2000),
          {
              "name": "cloud_mask_test_flag",
              "file_key": "cloud_mask_test_flag",
              "fill_value": -999,
              "file_type": "nc_fci_test_clm",
              "extract_byte": 1,
          },
      )
  
      assert dataset.values == 1
  
      # Value of 0 is expected fto be returned or this test
      dataset = self.byte_reader.get_dataset(
          make_dataid(name="cloud_mask_test_flag", resolution=2000),
          {
              "name": "cloud_mask_test_flag",
              "file_key": "cloud_mask_test_flag",
              "fill_value": -999,
              "mask_value": 0.0,
              "file_type": "nc_fci_test_clm",
              "extract_byte": 23,
          },
      )
  
      assert dataset.values == 0
  
imports: import os
  import unittest
  import uuid
  from contextlib import suppress
  from unittest import mock
  import numpy
  import pytest
  from netCDF4 import Dataset
  from pyresample import geometry
  from satpy.readers.fci_l2_nc import FciL2NCAMVFileHandler, FciL2NCFileHandler, FciL2NCSegmentFileHandler
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestFciL2NCReadingByteData obj's underlying member method code with example usage: obj.test_byte_extraction() without return types