Fix broken platform components (#22943)
* Fix broken platform components * Lint
This commit is contained in:
parent
8582e390f8
commit
e48ef7f441
8 changed files with 30 additions and 51 deletions
|
@ -1,8 +1,17 @@
|
|||
"""The tests for the webhook automation trigger."""
|
||||
import pytest
|
||||
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
async def setup_http(hass):
|
||||
"""Set up http."""
|
||||
assert await async_setup_component(hass, 'http', {})
|
||||
assert await async_setup_component(hass, 'webhook', {})
|
||||
|
||||
|
||||
async def test_webhook_json(hass, aiohttp_client):
|
||||
"""Test triggering with a JSON webhook."""
|
||||
events = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue