@@ -84,11 +84,6 @@ def _job(jid: str = "job-abc") -> dict:
8484 }
8585
8686
87- # ---------------------------------------------------------------------------
88- # list_reservations
89- # ---------------------------------------------------------------------------
90-
91-
9287@respx .mock
9388async def test_list_reservations_single_page ():
9489 mock_response (RESERVATIONS_URL , _reservations_page (0 , 3 ))
@@ -116,7 +111,7 @@ async def test_list_reservations_paginated():
116111
117112@respx .mock
118113async def test_list_reservations_respects_limit ():
119- # Two pages of two items each — limit=3 cuts iteration short.
114+ """ Two pages of two items each; limit=3 cuts iteration short."""
120115 next_url = f"{ RESERVATIONS_URL } ?cursor=abc"
121116 respx .get (RESERVATIONS_URL ).mock (side_effect = [
122117 httpx .Response (200 , json = _reservations_page (0 , 2 , next_url = next_url )),
@@ -149,11 +144,6 @@ async def test_list_reservations_query_params():
149144 assert sent ["limit" ] == "25"
150145
151146
152- # ---------------------------------------------------------------------------
153- # get_reservation
154- # ---------------------------------------------------------------------------
155-
156-
157147@respx .mock
158148async def test_get_reservation ():
159149 rid = 42
@@ -176,11 +166,6 @@ async def test_get_reservation_api_error():
176166 await cl_async .get_reservation (rid )
177167
178168
179- # ---------------------------------------------------------------------------
180- # create_reservation
181- # ---------------------------------------------------------------------------
182-
183-
184169@respx .mock
185170async def test_create_reservation ():
186171 payload = {
@@ -217,11 +202,6 @@ async def test_create_reservation_omits_collection_id_when_none():
217202 assert "collection_id" not in req_body
218203
219204
220- # ---------------------------------------------------------------------------
221- # bulk_create_reservations
222- # ---------------------------------------------------------------------------
223-
224-
225205@respx .mock
226206async def test_bulk_create_reservations ():
227207 bulk_url = f"{ TEST_URL } /quota-reservations/bulk-reserve"
@@ -238,11 +218,6 @@ def assertf(resp):
238218 assert req_body == {"aoi_refs" : [AOI_REF ], "product_id" : 100 }
239219
240220
241- # ---------------------------------------------------------------------------
242- # estimate_reservation
243- # ---------------------------------------------------------------------------
244-
245-
246221@respx .mock
247222async def test_estimate_reservation ():
248223 estimate_url = f"{ TEST_URL } /quota-reservations/estimate"
@@ -271,11 +246,6 @@ def assertf(resp):
271246 }
272247
273248
274- # ---------------------------------------------------------------------------
275- # Jobs
276- # ---------------------------------------------------------------------------
277-
278-
279249@respx .mock
280250async def test_list_jobs ():
281251 page = {"meta" : {"count" : 2 }, "results" : [_job ("a" ), _job ("b" )]}
@@ -305,11 +275,6 @@ async def test_get_job_empty_id_raises():
305275 await cl_async .get_job ("" )
306276
307277
308- # ---------------------------------------------------------------------------
309- # Products
310- # ---------------------------------------------------------------------------
311-
312-
313278@respx .mock
314279async def test_list_products_list_payload ():
315280 products = [
0 commit comments