Skip to content

Commit 8ddd47a

Browse files
committed
fixing tests
1 parent fe1360e commit 8ddd47a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

services/web/server/tests/unit/with_dbs/02/test_projects_crud_handlers__patch.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import json
1010
import uuid
1111
from http import HTTPStatus
12+
from unittest import mock
1213
from unittest.mock import patch
1314

1415
import pytest
@@ -60,6 +61,7 @@ async def test_patch_project_entrypoint_access(
6061
"user_role,expected", [(UserRole.USER, status.HTTP_204_NO_CONTENT)]
6162
)
6263
async def test_patch_project(
64+
mocked_dynamic_services_interface: dict[str, mock.MagicMock],
6365
client: TestClient,
6466
logged_user: UserInfoDict,
6567
user_project: ProjectDict,

services/web/server/tests/unit/with_dbs/02/test_projects_groups_handlers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77

88
from http import HTTPStatus
9+
from unittest import mock
910

1011
import pytest
1112
from aiohttp.test_utils import TestClient
@@ -24,6 +25,7 @@
2425
)
2526
@pytest.mark.parametrize("user_role,expected", [(UserRole.USER, status.HTTP_200_OK)])
2627
async def test_projects_groups_full_workflow( # noqa: PLR0915
28+
mocked_dynamic_services_interface: dict[str, mock.MagicMock],
2729
client: TestClient,
2830
logged_user: UserInfoDict,
2931
user_project: ProjectDict,

0 commit comments

Comments
 (0)