1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Upgrade black to 20.8b1 (#39287)

This commit is contained in:
Franck Nijhof
2020-08-27 13:56:20 +02:00
committed by GitHub
parent 0d7eec710c
commit 1c2ebdf307
574 changed files with 4389 additions and 1725 deletions

View File

@@ -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(