Skip to content

Commit e273493

Browse files
author
Andrei Neagu
committed
fixed test
1 parent be5258d commit e273493

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

services/dynamic-sidecar/tests/unit/test_api_rest_workflow_service_metrics.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ async def _wait_for_containers_to_be_running(app: FastAPI) -> None:
201201

202202

203203
async def test_service_starts_and_closes_as_expected(
204+
mock_ensure_read_permissions_on_user_service_data: None,
204205
mock_core_rabbitmq: dict[str, AsyncMock],
205206
app: FastAPI,
206207
httpx_async_client: AsyncClient,
@@ -384,6 +385,7 @@ async def _mocked_get_container_states(
384385

385386
@pytest.mark.parametrize("expected_platform_state", SimcorePlatformStatus)
386387
async def test_user_services_crash_when_running(
388+
mock_ensure_read_permissions_on_user_service_data: None,
387389
mock_core_rabbitmq: dict[str, AsyncMock],
388390
app: FastAPI,
389391
httpx_async_client: AsyncClient,

0 commit comments

Comments
 (0)