Skip to content

Commit

Permalink
Update config_flow test
Browse files Browse the repository at this point in the history
  • Loading branch information
JackJPowell committed Jan 18, 2025
1 parent f84ee93 commit 99a3b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/components/playstation_network/test_config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from homeassistant import config_entries
from homeassistant.components.playstation_network.config_flow import (
PSNAWPAuthenticationError,
PSNAWPException,
PSNAWPNotFound,
)
from homeassistant.components.playstation_network.const import CONF_NPSSO, DOMAIN
from homeassistant.core import HomeAssistant
Expand Down Expand Up @@ -55,7 +55,7 @@ async def test_form_success(hass: HomeAssistant, npsso) -> None:
@pytest.mark.parametrize(
("raise_error", "text_error"),
[
(PSNAWPException(), "cannot_connect"),
(PSNAWPNotFound(), "invalid_account"),
(PSNAWPAuthenticationError(), "invalid_auth"),
(Exception(), "unknown"),
],
Expand Down

0 comments on commit 99a3b9e

Please sign in to comment.