Fix entity_component test flapping (#37445)

pull/37482/head
J. Nick Koston 2020-07-04 09:55:44 -05:00 committed by GitHub
parent ffcdd85117
commit c03832da63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"))