Skip to content

Commit c8ba806

Browse files
committed
fixes test
1 parent 67fe045 commit c8ba806

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

services/web/server/src/simcore_service_webserver/users/models.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,5 @@
22

33
from ._models import FullNameDict, UserDisplayAndIdNamesTuple
44

5-
__all__: tuple[str, ...] = (
6-
"FullNameDict",
7-
"UserDisplayAndIdNamesTuple",
8-
"delete_user_without_projects",
9-
)
5+
__all__: tuple[str, ...] = ("FullNameDict", "UserDisplayAndIdNamesTuple")
106
# nopycln: file

services/web/server/tests/unit/isolated/test_garbage_collector_core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,9 @@ async def mock_get_user_role(
156156
mocker: MockerFixture, user_role: UserRole
157157
) -> mock.AsyncMock:
158158
return mocker.patch(
159-
f"{MODULE_GC_CORE_ORPHANS}.get_user_role", autospec=True, return_value=user_role
159+
f"{MODULE_GC_CORE_ORPHANS}.users_service.get_user_role",
160+
autospec=True,
161+
return_value=user_role,
160162
)
161163

162164

services/web/server/tests/unit/with_dbs/03/test_users_rest_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from faker import Faker
1515
from models_library.api_schemas_webserver.auth import AccountRequestInfo
1616
from pytest_simcore.helpers.faker_factories import random_pre_registration_details
17-
from simcore_service_webserver.users._controller._rest_schemas import (
17+
from simcore_service_webserver.users._controller.rest._rest_schemas import (
1818
MAX_BYTES_SIZE_EXTRAS,
1919
PreRegisteredUserGet,
2020
)

0 commit comments

Comments
 (0)