Skip to content

Commit 99a3b9e

Browse files
committed
Update config_flow test
1 parent f84ee93 commit 99a3b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/components/playstation_network/test_config_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from homeassistant import config_entries
88
from homeassistant.components.playstation_network.config_flow import (
99
PSNAWPAuthenticationError,
10-
PSNAWPException,
10+
PSNAWPNotFound,
1111
)
1212
from homeassistant.components.playstation_network.const import CONF_NPSSO, DOMAIN
1313
from homeassistant.core import HomeAssistant
@@ -55,7 +55,7 @@ async def test_form_success(hass: HomeAssistant, npsso) -> None:
5555
@pytest.mark.parametrize(
5656
("raise_error", "text_error"),
5757
[
58-
(PSNAWPException(), "cannot_connect"),
58+
(PSNAWPNotFound(), "invalid_account"),
5959
(PSNAWPAuthenticationError(), "invalid_auth"),
6060
(Exception(), "unknown"),
6161
],

0 commit comments

Comments
 (0)