class_docstr: Test the FciL2NCFileHandler reader.
class_docstr_tok: ["Test","the","FciL2NCFileHandler","reader","."]
docstr: Test the correct execution of the get_dataset function for total COT (add contributions from two layers).
docstr_tok: ["Test","the","correct","execution","of","the","get_dataset","function","for","total","COT","(","add","contributions","from","two","layers",")","."]
code: def test_dataset_with_total_cot(self):
      """Test the correct execution of the get_dataset function for total COT (add contributions from two layers)."""
      dataset = self.fh.get_dataset(
          make_dataid(
              name="retrieved_cloud_optical_thickness", resolution=2000
          ),
          {
              "name": "retrieved_cloud_optical_thickness",
              "file_key": "test_two_layers",
              "fill_value": -999,
              "file_type": "test_file_type",
          },
      )
      # Checks that the function returns None
      expected_sum = np.empty((100, 10))
      expected_sum[:] = np.log10(10**2 + 10**1)
      np.testing.assert_allclose(dataset.values, expected_sum)
  
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 8 for calling the TestFciL2NCFileHandler obj's underlying member method code with example usage: obj.test_dataset_with_total_cot() without return types