mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-10-26 23:38:58 +00:00
fix test
This commit is contained in:
parent
c52266e520
commit
3ccd42f981
@ -8,4 +8,4 @@ def test_db_write_read():
|
||||
documents = sql_datastore.get_all_documents()
|
||||
assert len(documents) == 2
|
||||
doc = sql_datastore.get_document_by_id("1")
|
||||
assert doc["text"] == 'A Doc specifically talking about haystack.\nHaystack can be used to scale QA models to large document collections.'
|
||||
assert doc.keys() == {"id", "name", "text", "tags"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user