@@ -73,7 +73,7 @@ async def test_update_new_collection(app_client, load_test_data):
7373 test_collection ["id" ] = "new-test-collection"
7474
7575 resp = await app_client .put (
76- "/collections/{ctx.collection ['id']}" , json = test_collection
76+ f "/collections/{ test_collection ['id' ]} " , json = test_collection
7777 )
7878 assert resp .status_code == 404
7979
@@ -89,7 +89,7 @@ async def test_collection_not_found(app_client):
8989async def test_returns_valid_collection (ctx , app_client ):
9090 """Test validates fetched collection with jsonschema"""
9191 resp = await app_client .put (
92- "/collections/{ctx.collection['id']}" , json = ctx .collection
92+ f "/collections/{ ctx .collection ['id' ]} " , json = ctx .collection
9393 )
9494 assert resp .status_code == 200
9595
@@ -116,7 +116,7 @@ async def test_collection_extensions(ctx, app_client):
116116 test_asset = {"title" : "test" , "description" : "test" , "type" : "test" }
117117 ctx .collection ["item_assets" ] = {"test" : test_asset }
118118 resp = await app_client .put (
119- "/collections/{ctx.collection['id']}" , json = ctx .collection
119+ f "/collections/{ ctx .collection ['id' ]} " , json = ctx .collection
120120 )
121121
122122 assert resp .status_code == 200
0 commit comments