def test_recommend_docsWithZeroWeight_success(self):
        """
        Test that the recommender ignores documents with zero weight
        """
        for index in [self.unstructured_text_index, self.structured_text_index]:
            with self.subTest(type=index.type):
                self._populate_index(index)

                # This will fail unless zero weight docs are ignored, due to SLERP on zero-sum weights
                self.recommender.recommend(
                    index_name=index.name,
                    documents={"1": 0, "2": 0, "3": 1},
                    tensor_fields=['title'],
                    interpolation_method=InterpolationMethod.SLERP,
                    exclude_input_documents=False,
                )

        Test that the recommender ignores documents with zero weight
        
tests/integ_tests/core/search/test_recommender.py