From 99a3b9ed417e3f8ba092bebda6200a640a2cf3cc Mon Sep 17 00:00:00 2001 From: Jack Powell Date: Sat, 18 Jan 2025 22:53:37 +0000 Subject: [PATCH] Update config_flow test --- tests/components/playstation_network/test_config_flow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/playstation_network/test_config_flow.py b/tests/components/playstation_network/test_config_flow.py index 5b011f0c225724..be56693cf837c0 100644 --- a/tests/components/playstation_network/test_config_flow.py +++ b/tests/components/playstation_network/test_config_flow.py @@ -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 @@ -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"), ],