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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user