Skip to content

Commit ba57a0e

Browse files
fix urls
1 parent a34dfdd commit ba57a0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/director-v2/tests/integration/01/test_computation_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,15 +848,15 @@ async def test_update_and_delete_computation(
848848

849849
# try to delete the pipeline, is expected to be forbidden if force parameter is false (default)
850850
response = await async_client.request(
851-
"DELETE", task_out.url, json={"user_id": user["id"]}
851+
"DELETE", f"{task_out.url}", json={"user_id": user["id"]}
852852
)
853853
assert (
854854
response.status_code == status.HTTP_403_FORBIDDEN
855855
), f"response code is {response.status_code}, error: {response.text}"
856856

857857
# try again with force=True this should abort and delete the pipeline
858858
response = await async_client.request(
859-
"DELETE", task_out.url, json={"user_id": user["id"], "force": True}
859+
"DELETE", f"{task_out.url}", json={"user_id": user["id"], "force": True}
860860
)
861861
assert (
862862
response.status_code == status.HTTP_204_NO_CONTENT

0 commit comments

Comments
 (0)