Skip to content

Commit 0e93266

Browse files
committed
fixes tests
1 parent 4420c57 commit 0e93266

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/web/server/tests/unit/with_dbs/03/login/test_login_twofa.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
from simcore_service_webserver.login._constants import (
2525
CODE_2FA_SMS_CODE_REQUIRED,
2626
MSG_2FA_UNAVAILABLE,
27+
MSG_LOGGED_IN,
2728
)
2829
from simcore_service_webserver.login._login_repository_legacy import AsyncpgStorage
2930
from simcore_service_webserver.login._twofa_service import (
@@ -307,7 +308,7 @@ def _get_confirmation_link_from_email():
307308
},
308309
)
309310
data, _ = await assert_status(response, status.HTTP_200_OK)
310-
assert "logged in" in data["message"]
311+
assert MSG_LOGGED_IN in data["message"]
311312

312313

313314
async def test_can_register_same_phone_in_different_accounts(

0 commit comments

Comments
 (0)