Fix dangerous-default-value warnings in cloud tests (#119585)

This commit is contained in:
epenet 2024-06-13 10:30:44 +02:00 committed by GitHub
parent 55f8a36572
commit d211af75ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -203,7 +203,7 @@ def mock_user_data():
def mock_cloud_fixture(hass):
"""Fixture for cloud component."""
hass.loop.run_until_complete(mock_cloud(hass))
return mock_cloud_prefs(hass)
return mock_cloud_prefs(hass, {})
@pytest.fixture