Upgrade black to 20.8b1 (#39287)
This commit is contained in:
parent
0d7eec710c
commit
1c2ebdf307
574 changed files with 4389 additions and 1725 deletions
|
@ -39,7 +39,9 @@ async def test_import_cannot_connect(hass):
|
|||
async def test_import_duplicate_error(hass):
|
||||
"""Test that errors are shown when duplicates are added during import."""
|
||||
config_entry = MockConfigEntry(
|
||||
domain=DOMAIN, data={CONF_HOST: "dunehd-host"}, title="dunehd-host",
|
||||
domain=DOMAIN,
|
||||
data={CONF_HOST: "dunehd-host"},
|
||||
title="dunehd-host",
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
|
@ -74,7 +76,9 @@ async def test_user_cannot_connect(hass):
|
|||
async def test_duplicate_error(hass):
|
||||
"""Test that errors are shown when duplicates are added."""
|
||||
config_entry = MockConfigEntry(
|
||||
domain=DOMAIN, data=CONFIG_HOSTNAME, title="dunehd-host",
|
||||
domain=DOMAIN,
|
||||
data=CONFIG_HOSTNAME,
|
||||
title="dunehd-host",
|
||||
)
|
||||
config_entry.add_to_hass(hass)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue