Skip to content

Commit 2804b53

Browse files
committed
add check
1 parent 16579ca commit 2804b53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@ async def test_get_profile_with_failing_db_connection(
196196

197197
resp = await client.get(url.path)
198198

199-
await assert_status(resp, expected)
199+
data, error = await assert_status(resp, expected)
200+
assert not data
201+
assert error["message"] == "Authentication service is temporary unavailable"
200202

201203

202204
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)