mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00: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" |     assert response.headers["content-type"] == "application/json" | ||||||
|     json_data = json.loads(response.body.decode()) |     json_data = json.loads(response.body.decode()) | ||||||
|     configured_devices = json_data["configured"] |     configured_devices = json_data["configured"] | ||||||
|     if len(configured_devices) == 0: |     first_device = configured_devices[0] | ||||||
|         assert len(configured_devices) != 0 |     assert first_device["name"] == "pico" | ||||||
|     else: |     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