Upgrade black to 20.8b1 (#39287)
This commit is contained in:
parent
0d7eec710c
commit
1c2ebdf307
574 changed files with 4389 additions and 1725 deletions
|
@ -12,7 +12,8 @@ from tests.common import async_fire_time_changed
|
|||
async def test_bad_posting(hass, aiohttp_client):
|
||||
"""Test that posting to wrong api endpoint fails."""
|
||||
await async_process_ha_core_config(
|
||||
hass, {"external_url": "http://example.com"},
|
||||
hass,
|
||||
{"external_url": "http://example.com"},
|
||||
)
|
||||
|
||||
await async_setup_component(
|
||||
|
@ -42,7 +43,8 @@ async def test_bad_posting(hass, aiohttp_client):
|
|||
async def test_posting_url(hass, aiohttp_client):
|
||||
"""Test that posting to api endpoint works."""
|
||||
await async_process_ha_core_config(
|
||||
hass, {"external_url": "http://example.com"},
|
||||
hass,
|
||||
{"external_url": "http://example.com"},
|
||||
)
|
||||
|
||||
await async_setup_component(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue