Skip to content

Commit 36ec58f

Browse files
committed
fix: pg_docs index error in updated test
1 parent 276eb53 commit 36ec58f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

integrations/pgvector/tests/test_converters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ def test_from_haystack_to_pg_documents():
7676
assert pg_docs[3]["blob_data"] is None
7777
assert pg_docs[3]["blob_meta"] is None
7878
assert pg_docs[3]["blob_mime_type"] is None
79-
assert "dataframe" not in pg_docs[0]
79+
assert "dataframe" not in pg_docs[3]
8080
assert pg_docs[3]["meta"].obj == {"meta_key": "meta_value"}
8181
assert pg_docs[3]["embedding"] == [0.7, 0.8, 0.9]
82-
assert "score" not in pg_docs[0]
82+
assert "score" not in pg_docs[3]
8383

8484

8585
def test_from_pg_to_haystack_documents():

0 commit comments

Comments
 (0)