class_docstr: Test the ViiL2NCFileHandler reader.
class_docstr_tok: ["Test","the","ViiL2NCFileHandler","reader","."]
docstr: Test the functions.
docstr_tok: ["Test","the","functions","."]
code: def test_functions(self):
      """Test the functions."""
      # Checks that the _perform_orthorectification function is correctly executed
      variable = xr.DataArray(
          dims=("num_lines", "num_pixels"),
          name="test_name",
          attrs={"key_1": "value_1", "key_2": "value_2"},
          data=da.from_array(np.ones((10, 100))),
      )
      orthorect_variable = self.reader._perform_orthorectification(
          variable, "data/measurement_data/delta_lat"
      )
  
      expected_values = 1.1 * np.ones((10, 100))
      assert np.allclose(orthorect_variable.values, expected_values)
      assert orthorect_variable.attrs["key_1"] == "value_1"
  
file_path: satpy/satpy/tests/reader_tests/test_vii_l2_nc.py
imports: import datetime
  import os
  import unittest
  import uuid
  import dask.array
  import numpy
  import xarray
  from netCDF4 import Dataset
  from satpy.readers.vii_l2_nc import ViiL2NCFileHandler
label_desc: Use image node_id 3 for calling the TestViiL2NCFileHandler obj's underlying member method code with example usage: obj.test_functions() without return types