Skip to content

Commit 93e7112

Browse files
committed
fixing tests
1 parent 2c1b615 commit 93e7112

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/login/_auth_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async def create_user(
4242
await UsersRepo.link_and_update_user_from_pre_registration(
4343
conn, new_user_id=user.id, new_user_email=user.email
4444
)
45-
return dict(user.items())
45+
return dict(user._mapping) # pylint: disable=protected-access # noqa: SLF001
4646

4747

4848
async def check_authorized_user_credentials_or_raise(

services/web/server/tests/unit/with_dbs/03/invitations/test_login_handlers_registration_invitations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _extract_invitation_code_from_url(invitation_url: HttpUrl) -> str:
110110
return query_params["invitation"]
111111

112112

113-
@pytest.mark.acceptance_test()
113+
@pytest.mark.acceptance_test
114114
async def test_registration_to_different_product(
115115
mocker: MockerFixture,
116116
app_products_names: list[ProductName],

0 commit comments

Comments
 (0)