Skip to content

Commit 6c9fc1a

Browse files
committed
fix names
1 parent 2c7fcea commit 6c9fc1a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

services/api-server/tests/unit/conftest.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def mocked_storage_service_api_base(
357357
) as respx_mock:
358358
assert openapi["paths"]["/v0/"]["get"]["operationId"] == "get_health_v0__get"
359359

360-
respx_mock.get(path="/v0/", name="health_check").respond(
360+
respx_mock.get(path="/v0/", name="get_health_v0__get").respond(
361361
status.HTTP_200_OK,
362362
json=Envelope[HealthCheck](
363363
data={
@@ -369,8 +369,11 @@ def mocked_storage_service_api_base(
369369
).model_dump(),
370370
)
371371

372-
assert openapi["paths"]["/v0/status"]["get"]["operationId"] == "get_status"
373-
respx_mock.get(path="/v0/status", name="get_status").respond(
372+
assert (
373+
openapi["paths"]["/v0/status"]["get"]["operationId"]
374+
== "get_status_v0_status_get"
375+
)
376+
respx_mock.get(path="/v0/status", name="get_status_v0_status_get").respond(
374377
status.HTTP_200_OK,
375378
json=Envelope[AppStatusCheck](
376379
data={

0 commit comments

Comments
 (0)