@@ -162,7 +162,7 @@ async def test_post_containers_ports_outputs_dirs(
162162 mock_response = Response (status .HTTP_204_NO_CONTENT )
163163 mock_request (
164164 "POST" ,
165- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /containers/ports/outputs/dirs" ,
165+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /containers/ports/outputs/dirs" ,
166166 mock_response ,
167167 None ,
168168 )
@@ -216,7 +216,7 @@ async def test_post_containers_networks_attach(
216216 container_id = "a_container_id"
217217 mock_request (
218218 "POST" ,
219- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /containers/{ container_id } /networks:attach" ,
219+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /containers/{ container_id } /networks:attach" ,
220220 mock_response ,
221221 None ,
222222 )
@@ -239,7 +239,7 @@ async def test_post_containers_networks_detach(
239239 container_id = "a_container_id"
240240 mock_request (
241241 "POST" ,
242- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /containers/{ container_id } /networks:detach" ,
242+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /containers/{ container_id } /networks:detach" ,
243243 mock_response ,
244244 None ,
245245 )
@@ -262,7 +262,7 @@ async def test_put_volumes(
262262 mock_response = Response (status .HTTP_204_NO_CONTENT )
263263 mock_request (
264264 "PUT" ,
265- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /volumes/{ volume_category } " ,
265+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /volumes/{ volume_category } " ,
266266 mock_response ,
267267 None ,
268268 )
@@ -371,7 +371,7 @@ async def test_get_containers_inactivity(
371371 mock_response = Response (status .HTTP_200_OK , json = {})
372372 mock_request (
373373 "GET" ,
374- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /containers/activity" ,
374+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /containers/activity" ,
375375 mock_response ,
376376 None ,
377377 )
@@ -388,7 +388,7 @@ async def test_post_disk_reserved_free(
388388 mock_response = Response (status .HTTP_204_NO_CONTENT )
389389 mock_request (
390390 "POST" ,
391- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /disk/reserved:free" ,
391+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /disk/reserved:free" ,
392392 mock_response ,
393393 None ,
394394 )
@@ -405,7 +405,7 @@ async def test_post_containers_compose_spec(
405405 mock_response = Response (status .HTTP_202_ACCEPTED )
406406 mock_request (
407407 "POST" ,
408- f"{ dynamic_sidecar_endpoint } / { thin_client .API_VERSION } /containers/compose-spec" ,
408+ f"{ dynamic_sidecar_endpoint } { thin_client .API_VERSION } /containers/compose-spec" ,
409409 mock_response ,
410410 None ,
411411 )
0 commit comments