Add the 'content' attribute to documents to allow access to a document's parsed content for indexing and other purposes. Fixes the document parsing indexing failing test. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
4 lines
141 B
Python
4 lines
141 B
Python
from __future__ import unicode_literals
|
|
|
|
TEST_PARSING_INDEX_NODE_TEMPLATE = '{% if "sample" in document.content.lower() %}sample{% endif %}'
|