Fix entity_component test flapping (#37445)
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…
Reference in New Issue