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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user