1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-15 17:52:19 +01:00

Revert "Improve stability for unrelated test"

This reverts commit 3922950951.
This commit is contained in:
Daniel Vikström
2025-05-06 03:36:03 +02:00
parent 7b460b6224
commit 3915e1f012

View File

@@ -75,9 +75,6 @@ async def test_devices_page(dashboard: DashboardTestHelper) -> None:
assert response.headers["content-type"] == "application/json"
json_data = json.loads(response.body.decode())
configured_devices = json_data["configured"]
if len(configured_devices) == 0:
assert len(configured_devices) != 0
else:
first_device = configured_devices[0]
assert first_device["name"] == "pico"
assert first_device["configuration"] == "pico.yaml"
first_device = configured_devices[0]
assert first_device["name"] == "pico"
assert first_device["configuration"] == "pico.yaml"