diff --git a/.codegen.json b/.codegen.json index f4950a1d..bc347705 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "bafbfd8", "specHash": "6d5f53e", "version": "1.7.0" } +{ "engineHash": "cb62e1c", "specHash": "6d5f53e", "version": "1.7.0" } diff --git a/test/collections.py b/test/collections.py index bef73c5e..4973aed5 100644 --- a/test/collections.py +++ b/test/collections.py @@ -40,12 +40,10 @@ def testCollections(): collection_items_after_update: ItemsOffsetPaginated = ( client.collections.get_collection_items(favourite_collection.id) ) - assert ( - len(collection_items_after_update.entries) == len(collection_items.entries) + 1 - ) + assert collection_items_after_update.total_count == collection_items.total_count + 1 client.folders.update_folder_by_id(folder.id, collections=[]) collection_items_after_remove: ItemsOffsetPaginated = ( client.collections.get_collection_items(favourite_collection.id) ) - assert len(collection_items_after_remove.entries) == len(collection_items.entries) + assert collection_items_after_remove.total_count == collection_items.total_count client.folders.delete_folder_by_id(folder.id)