Skip to content

Commit

Permalink
add check
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Oct 8, 2024
1 parent 16579ca commit 2804b53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/web/server/tests/unit/with_dbs/03/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ async def test_get_profile_with_failing_db_connection(

resp = await client.get(url.path)

await assert_status(resp, expected)
data, error = await assert_status(resp, expected)
assert not data
assert error["message"] == "Authentication service is temporary unavailable"


@pytest.mark.parametrize(
Expand Down

0 comments on commit 2804b53

Please sign in to comment.