Skip to content

Commit a0e3990

Browse files
committed
fixed syntax
1 parent 5604886 commit a0e3990

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

services/director-v2/tests/unit/with_dbs/test_api_route_computations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def minimal_configuration(
8787
rabbit_service: RabbitSettings,
8888
redis_service: RedisSettings,
8989
monkeypatch: pytest.MonkeyPatch,
90-
mocked_rabbit_mq_client: None,
9190
faker: Faker,
9291
):
9392
monkeypatch.setenv("DIRECTOR_V2_DYNAMIC_SIDECAR_ENABLED", "false")
@@ -885,7 +884,7 @@ async def test_get_computation_from_empty_project(
885884
assert response.status_code == status.HTTP_404_NOT_FOUND, response.text
886885
# create an empty pipeline
887886
await create_pipeline(
888-
project_id=proj.uuid,
887+
project_id=f"{proj.uuid}",
889888
)
890889
response = await async_client.get(get_computation_url)
891890
assert response.status_code == status.HTTP_200_OK, response.text
@@ -997,7 +996,7 @@ async def test_get_computation_from_published_computation_task(
997996
user = registered_user()
998997
proj = await project(user, workbench=fake_workbench_without_outputs)
999998
await create_pipeline(
1000-
project_id=proj.uuid,
999+
project_id=f"{proj.uuid}",
10011000
dag_adjacency_list=fake_workbench_adjacency,
10021001
)
10031002
comp_tasks = await create_tasks(

services/director-v2/tests/unit/with_dbs/test_api_route_computations_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async def project_id(
126126

127127
# insert pipeline -> comp_pipeline
128128
await create_pipeline(
129-
project_id=proj.uuid,
129+
project_id=f"{proj.uuid}",
130130
dag_adjacency_list=fake_workbench_adjacency,
131131
)
132132
# insert tasks -> comp_tasks

0 commit comments

Comments
 (0)