mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Fix entity_component test flapping (#37445)
This commit is contained in:
parent
ffcdd85117
commit
c03832da63
@ -171,7 +171,7 @@ async def test_extract_from_service_available_device(hass):
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
async def test_platform_not_ready(hass):
|
async def test_platform_not_ready(hass, legacy_patchable_time):
|
||||||
"""Test that we retry when platform not ready."""
|
"""Test that we retry when platform not ready."""
|
||||||
platform1_setup = Mock(side_effect=[PlatformNotReady, PlatformNotReady, None])
|
platform1_setup = Mock(side_effect=[PlatformNotReady, PlatformNotReady, None])
|
||||||
mock_integration(hass, MockModule("mod1"))
|
mock_integration(hass, MockModule("mod1"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user