mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
Update test
This commit is contained in:
parent
f80d13079b
commit
cd67a7cd39
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue