Skip to content

Commit 777b469

Browse files
author
Andrei Neagu
committed
Merge branch 'pr-osparc-pydantic2-integration-libraries2' of github.com:GitHK/osparc-simcore-forked into pr-osparc-pydantic2-integration-libraries2
2 parents 1914139 + ba57a0e commit 777b469

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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

services/director-v2/tests/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ async def _creator(
108108
responses: list[httpx.Response] = await asyncio.gather(
109109
*(
110110
async_client.request(
111-
"DELETE", task.url, json={"user_id": user_id, "force": True}
111+
"DELETE", f"{task.url}", json={"user_id": user_id, "force": True}
112112
)
113113
for user_id, task in created_comp_tasks
114114
)

0 commit comments

Comments
 (0)