mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Fix flakey tests using the _get_diagnostics_for_config_entry helper (#115069)
This commit is contained in:
@@ -19,6 +19,7 @@ async def _get_diagnostics_for_config_entry(
|
||||
) -> JsonObjectType:
|
||||
"""Return the diagnostics config entry for the specified domain."""
|
||||
assert await async_setup_component(hass, "diagnostics", {})
|
||||
await hass.async_block_till_done()
|
||||
|
||||
client = await hass_client()
|
||||
response = await client.get(
|
||||
|
Reference in New Issue
Block a user