Skip to content

Commit 0ba59ae

Browse files
committed
Fix test
1 parent 588651b commit 0ba59ae

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/components/playstation_network/test_config_flow.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
from homeassistant import config_entries
88
from homeassistant.components.playstation_network.config_flow import (
99
PSNAWPAuthenticationError,
10-
PSNAWPClientError,
10+
PSNAWPError,
1111
PSNAWPInvalidTokenError,
1212
PSNAWPNotFoundError,
13-
PSNAWPServerError,
1413
)
1514
from homeassistant.components.playstation_network.const import CONF_NPSSO, DOMAIN
1615
from homeassistant.config_entries import SOURCE_USER
@@ -74,8 +73,7 @@ async def test_form_already_configured(
7473
[
7574
(PSNAWPNotFoundError(), "invalid_account"),
7675
(PSNAWPAuthenticationError(), "invalid_auth"),
77-
(PSNAWPServerError(), "cannot_connect"),
78-
(PSNAWPClientError(), "cannot_connect"),
76+
(PSNAWPError(), "cannot_connect"),
7977
(Exception(), "unknown"),
8078
],
8179
)

0 commit comments

Comments
 (0)