haystack/test/test_document.py

7 lines
141 B
Python
Raw Normal View History

from haystack.database.base import Document
def test_document_data_access():
doc = Document(text="test")
assert doc.text == "test"