From a64ff2ae27b4589d1312cd70fd2d40028276da2d Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Fri, 3 Dec 2021 08:49:35 +0100 Subject: [PATCH] Use dataclass properties in system_bridge tests (#60888) Co-authored-by: epenet --- tests/components/system_bridge/test_config_flow.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/components/system_bridge/test_config_flow.py b/tests/components/system_bridge/test_config_flow.py index f8163eb98d9..ecc36641e6c 100644 --- a/tests/components/system_bridge/test_config_flow.py +++ b/tests/components/system_bridge/test_config_flow.py @@ -81,9 +81,7 @@ FIXTURE_BASE_URL = ( f"http://{FIXTURE_USER_INPUT[CONF_HOST]}:{FIXTURE_USER_INPUT[CONF_PORT]}" ) -FIXTURE_ZEROCONF_BASE_URL = ( - f"http://{FIXTURE_ZEROCONF[CONF_HOST]}:{FIXTURE_ZEROCONF[CONF_PORT]}" -) +FIXTURE_ZEROCONF_BASE_URL = f"http://{FIXTURE_ZEROCONF.host}:{FIXTURE_ZEROCONF.port}" async def test_user_flow(