Skip to content

Commit 76c0a9a

Browse files
committed
Maybe fix test?
1 parent 761036d commit 76c0a9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/api/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ async def test_app_collection_fields_extension(
280280
resp_json = resp.json()
281281
resp_collections = resp_json["collections"]
282282
assert len(resp_collections) > 0
283-
assert all(set(collection.keys()) == set(fields) for collection in resp_collections)
283+
for collection in resp_collections:
284+
assert set(collection.keys()) == set(fields + ["links", "collection"])
284285

285286

286287
async def test_app_sort_extension(load_test_data, app_client, load_test_collection):

0 commit comments

Comments
 (0)