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():
"""Mock get data coordinator update."""
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

View File

@ -712,7 +712,8 @@ async def test_apps_update(
) -> None:
"""Test device setup with apps where no app is running."""
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(
hass, MOCK_USER_VALID_TV_CONFIG, vars(AppConfig())