def test_get_all_less_than_2k(self):
        """If we execute a get_all then we expect multiple
        invocations of a cmr granule search and
        to not fetch back more results than we ask for.
        """
        granules = earthaccess.search_data(
            short_name="TELLUS_GRAC_L3_JPL_RL06_LND_v04", count=2000
        )

        # Assert that we performed a hits query and one search results query
        self.assertEqual(len(self.cassette), 2)
        self.assertEqual(len(granules), 163)
        self.assertTrue(unique_results(granules))
If we execute a get_all then we expect multiple
        invocations of a cmr granule search and
        to not fetch back more results than we ask for.
        
tests/unit/test_results.py