2828 "DELETE /collections/{collection_id}/items/{item_id}" ,
2929 "POST /collections" ,
3030 "POST /collections/{collection_id}/items" ,
31- "PUT /collections" ,
31+ "PUT /collections/{collection_id} " ,
3232 "PUT /collections/{collection_id}/items/{item_id}" ,
3333}
3434
@@ -238,14 +238,14 @@ async def test_app_query_extension_limit_10000(app_client):
238238async def test_app_sort_extension_get_asc (app_client , txn_client , ctx ):
239239 first_item = ctx .item
240240 item_date = datetime .strptime (
241- first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%SZ "
241+ first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%S.%fZ "
242242 )
243243
244244 second_item = dict (first_item )
245245 second_item ["id" ] = "another-item"
246246 another_item_date = item_date - timedelta (days = 1 )
247247 second_item ["properties" ]["datetime" ] = another_item_date .strftime (
248- "%Y-%m-%dT%H:%M:%SZ "
248+ "%Y-%m-%dT%H:%M:%S.%fZ "
249249 )
250250 await create_item (txn_client , second_item )
251251
@@ -260,14 +260,14 @@ async def test_app_sort_extension_get_asc(app_client, txn_client, ctx):
260260async def test_app_sort_extension_get_desc (app_client , txn_client , ctx ):
261261 first_item = ctx .item
262262 item_date = datetime .strptime (
263- first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%SZ "
263+ first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%S.%fZ "
264264 )
265265
266266 second_item = dict (first_item )
267267 second_item ["id" ] = "another-item"
268268 another_item_date = item_date - timedelta (days = 1 )
269269 second_item ["properties" ]["datetime" ] = another_item_date .strftime (
270- "%Y-%m-%dT%H:%M:%SZ "
270+ "%Y-%m-%dT%H:%M:%S.%fZ "
271271 )
272272 await create_item (txn_client , second_item )
273273
@@ -282,14 +282,14 @@ async def test_app_sort_extension_get_desc(app_client, txn_client, ctx):
282282async def test_app_sort_extension_post_asc (app_client , txn_client , ctx ):
283283 first_item = ctx .item
284284 item_date = datetime .strptime (
285- first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%SZ "
285+ first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%S.%fZ "
286286 )
287287
288288 second_item = dict (first_item )
289289 second_item ["id" ] = "another-item"
290290 another_item_date = item_date - timedelta (days = 1 )
291291 second_item ["properties" ]["datetime" ] = another_item_date .strftime (
292- "%Y-%m-%dT%H:%M:%SZ "
292+ "%Y-%m-%dT%H:%M:%S.%fZ "
293293 )
294294 await create_item (txn_client , second_item )
295295
@@ -308,14 +308,14 @@ async def test_app_sort_extension_post_asc(app_client, txn_client, ctx):
308308async def test_app_sort_extension_post_desc (app_client , txn_client , ctx ):
309309 first_item = ctx .item
310310 item_date = datetime .strptime (
311- first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%SZ "
311+ first_item ["properties" ]["datetime" ], "%Y-%m-%dT%H:%M:%S.%fZ "
312312 )
313313
314314 second_item = dict (first_item )
315315 second_item ["id" ] = "another-item"
316316 another_item_date = item_date - timedelta (days = 1 )
317317 second_item ["properties" ]["datetime" ] = another_item_date .strftime (
318- "%Y-%m-%dT%H:%M:%SZ "
318+ "%Y-%m-%dT%H:%M:%S.%fZ "
319319 )
320320 await create_item (txn_client , second_item )
321321
0 commit comments