Skip to content

Commit e444373

Browse files
committed
Fixing test
1 parent 1b3dad9 commit e444373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async def test_collection_index(doc_col, bad_col):
7070
assert idx2.id is not None
7171
assert idx2.id == f"{doc_col.name}/{idx2.numeric_id}"
7272
assert idx2.type == "inverted"
73-
assert idx2["fields"] == [{"name": "attr1", "cache": True}]
73+
assert idx2["fields"][0]["name"] == "attr1"
7474
assert idx2.name == "idx2"
7575
assert idx2.include_all_fields is True
7676
assert idx2.analyzer == "identity"

0 commit comments

Comments
 (0)