diff --git a/openedx/core/djangoapps/content/search/tests/test_documents.py b/openedx/core/djangoapps/content/search/tests/test_documents.py index 603cc8d92f5..b14b084a069 100644 --- a/openedx/core/djangoapps/content/search/tests/test_documents.py +++ b/openedx/core/djangoapps/content/search/tests/test_documents.py @@ -19,7 +19,6 @@ searchable_doc_for_course_block, searchable_doc_tags, searchable_doc_tags_for_collection, - searchable_doc_collections, searchable_doc_for_collection, searchable_doc_for_library_block, ) @@ -268,7 +267,6 @@ def test_html_library_block(self): doc = {} doc.update(searchable_doc_for_library_block(self.library_block)) doc.update(searchable_doc_tags(self.library_block.usage_key)) - doc.update(searchable_doc_collections(self.library_block.usage_key)) assert doc == { "id": "lbedx2012_fallhtmltext2-4bb47d67", "type": "library_block", @@ -305,7 +303,6 @@ def test_html_published_library_block(self): doc = searchable_doc_for_library_block(self.library_block) doc.update(searchable_doc_tags(self.library_block.usage_key)) - doc.update(searchable_doc_collections(self.library_block.usage_key)) assert doc == { "id": "lbedx2012_fallhtmltext2-4bb47d67", @@ -345,7 +342,6 @@ def test_html_published_library_block(self): doc = searchable_doc_for_library_block(self.library_block) doc.update(searchable_doc_tags(self.library_block.usage_key)) - doc.update(searchable_doc_collections(self.library_block.usage_key)) assert doc == { "id": "lbedx2012_fallhtmltext2-4bb47d67", @@ -384,7 +380,6 @@ def test_html_published_library_block(self): library_api.publish_changes(self.library.key) doc = searchable_doc_for_library_block(self.library_block) doc.update(searchable_doc_tags(self.library_block.usage_key)) - doc.update(searchable_doc_collections(self.library_block.usage_key)) assert doc == { "id": "lbedx2012_fallhtmltext2-4bb47d67",