mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-23 05:03:28 +00:00
7 lines
141 B
Python
7 lines
141 B
Python
from haystack.database.base import Document
|
|
|
|
|
|
def test_document_data_access():
|
|
doc = Document(text="test")
|
|
assert doc.text == "test"
|