We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b3668 commit d08b55bCopy full SHA for d08b55b
services/web/server/tests/unit/with_dbs/03/login/test_login_twofa.py
@@ -24,6 +24,7 @@
24
from simcore_service_webserver.login._constants import (
25
CODE_2FA_SMS_CODE_REQUIRED,
26
MSG_2FA_UNAVAILABLE,
27
+ MSG_LOGGED_IN,
28
)
29
from simcore_service_webserver.login._login_repository_legacy import AsyncpgStorage
30
from simcore_service_webserver.login._twofa_service import (
@@ -307,7 +308,7 @@ def _get_confirmation_link_from_email():
307
308
},
309
310
data, _ = await assert_status(response, status.HTTP_200_OK)
- assert "logged in" in data["message"]
311
+ assert MSG_LOGGED_IN in data["message"]
312
313
314
async def test_can_register_same_phone_in_different_accounts(
0 commit comments