From cd67a7cd396e2b69eaffe6047ddbc73724d47db5 Mon Sep 17 00:00:00 2001 From: zhudhjen Date: Thu, 15 Aug 2024 12:28:32 -0700 Subject: [PATCH] Update test --- tests/dashboard/test_web_server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/dashboard/test_web_server.py b/tests/dashboard/test_web_server.py index 9cc2c8feb8..224fc4b823 100644 --- a/tests/dashboard/test_web_server.py +++ b/tests/dashboard/test_web_server.py @@ -41,7 +41,6 @@ async def fixture_dashboard() -> DashboardTestHelper: args = Mock( ha_addon=True, configuration=get_fixture_path("conf"), - port=0, ) os.environ["ESPHOME_DASHBOARD_PORT"] = str(port) DASHBOARD.settings.parse_args(args) @@ -53,7 +52,6 @@ async def fixture_dashboard() -> DashboardTestHelper: assert DASHBOARD.settings.using_password is False assert DASHBOARD.settings.on_ha_addon is True assert DASHBOARD.settings.using_auth is False - assert int(DASHBOARD.settings.port) == port task = asyncio.create_task(DASHBOARD.async_run()) client = AsyncHTTPClient() io_loop = IOLoop(make_current=False)