class_docstr: Test case for computing HRPT navigation.
class_docstr_tok: ["Test","case","for","computing","HRPT","navigation","."]
docstr: Check that latitudes are returned properly.
code: def test_latitudes_are_returned(
      self,
      Orbital,
      compute_pixels,
      get_lonlatalt,
      SatelliteInterpolator,
  ):
      """Check that latitudes are returned properly."""
      self._prepare_mocks(Orbital, SatelliteInterpolator, get_lonlatalt)
      dataset_id = make_dataid(name="latitude")
      result = self._get_dataset(dataset_id)
      assert (result == self.fake_lats).all()
  
imports: import os
  import unittest
  from contextlib import suppress
  from tempfile import NamedTemporaryFile
  from unittest import mock
  import numpy
  import xarray
  from satpy.readers.hrpt import HRPTFile, dtype
  from satpy.tests.reader_tests.test_avhrr_l1b_gaclac import PygacPatcher
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 4 for calling the TestHRPTNavigation obj's underlying member method code with example usage: obj.test_latitudes_are_returned(Orbital, compute_pixels, get_lonlatalt, SatelliteInterpolator) without return types