From ea20c7cb891e4baf16f810c5c84d183b4eee3fd2 Mon Sep 17 00:00:00 2001 From: doug-newman-nasa Date: Mon, 29 Apr 2024 08:00:51 -0400 Subject: [PATCH] Resolved PR comment. --- tests/unit/test_results.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/test_results.py b/tests/unit/test_results.py index e52ce182..c669e8d7 100644 --- a/tests/unit/test_results.py +++ b/tests/unit/test_results.py @@ -175,6 +175,10 @@ def test_get_all_more_than_2k(self): self.assertEqual( len(granules), int(self.cassette.responses[0]["headers"]["CMR-Hits"][0]) ) + self.assertEqual( + len(granules), + min(3000, int(self.cassette.responses[0]["headers"]["CMR-Hits"][0])), + ) self.assertTrue(unique_results(granules)) def test_collections_less_than_2k(self):