Fix vizio black formatting (#39573)

This commit is contained in:
Martin Hjelmare 2020-09-02 14:16:23 +02:00 committed by GitHub
parent 0892acbabd
commit 24f63127de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -62,7 +62,8 @@ def vizio_get_unique_id_fixture():
def vizio_data_coordinator_update_fixture(): def vizio_data_coordinator_update_fixture():
"""Mock get data coordinator update.""" """Mock get data coordinator update."""
with patch( with patch(
"homeassistant.components.vizio.gen_apps_list_from_url", return_value=APP_LIST, "homeassistant.components.vizio.gen_apps_list_from_url",
return_value=APP_LIST,
): ):
yield yield

View file

@ -712,7 +712,8 @@ async def test_apps_update(
) -> None: ) -> None:
"""Test device setup with apps where no app is running.""" """Test device setup with apps where no app is running."""
with patch( with patch(
"homeassistant.components.vizio.gen_apps_list_from_url", return_value=None, "homeassistant.components.vizio.gen_apps_list_from_url",
return_value=None,
): ):
async with _cm_for_test_setup_tv_with_apps( async with _cm_for_test_setup_tv_with_apps(
hass, MOCK_USER_VALID_TV_CONFIG, vars(AppConfig()) hass, MOCK_USER_VALID_TV_CONFIG, vars(AppConfig())