class_docstr: Test the filehandler.
docstr: Test get full angles twice.
code: def test_get_full_angles_twice(self, mock__getitem__):
      """Test get full angles twice."""
      geotiemock = mock.Mock()
      metop20kmto1km = geotiemock.metop20kmto1km
      metop20kmto1km.side_effect = lambda x, y: (x.copy(), y.copy())
  
      def mock_getitem(key):
          data = {
              "ANGULAR_RELATIONS_FIRST": np.zeros((7, 4)),
              "ANGULAR_RELATIONS": np.zeros((7, 103, 4)),
              "ANGULAR_RELATIONS_LAST": np.zeros((7, 4)),
              "NAV_SAMPLE_RATE": 20,
          }
          return data[key]
  
      mock__getitem__.side_effect = mock_getitem
  
      avhrr_reader = satpy.readers.eps_l1b.EPSAVHRRFile(
          filename="foo",
          filename_info={"start_time": "foo", "end_time": "bar"},
          filetype_info={"foo": "bar"},
      )
      avhrr_reader.scanlines = 7
      avhrr_reader.pixels = 2048
  
      with mock.patch.dict("sys.modules", geotiepoints=geotiemock):
          # Get dask arrays
          (
              sun_azi,
              sun_zen,
              sat_azi,
              sat_zen,
          ) = avhrr_reader.get_full_angles()
          # Convert to numpy array
          sun_zen_np1 = np.array(sun_zen)
          # Convert to numpy array again
          sun_zen_np2 = np.array(sun_zen)
          assert np.allclose(sun_zen_np1, sun_zen_np2)
  
imports: import os
  from contextlib import suppress
  from tempfile import mkstemp
  from unittest import TestCase, mock
  import numpy
  import pytest
  import xarray
  import satpy
  from satpy._config import get_config_path
  from satpy.readers import eps_l1b
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 8 for calling the TestEPSL1B obj's underlying member method code with example usage: obj.test_get_full_angles_twice(mock__getitem__) and returns: data