Move enable_custom_integrations fixture to decorator (#118844)
This commit is contained in:
parent
985e42e50c
commit
c7e065c413
32 changed files with 112 additions and 121 deletions
|
@ -249,11 +249,11 @@ async def test_webhook_local_only(hass: HomeAssistant, mock_client) -> None:
|
|||
assert len(hooks) == 1
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("enable_custom_integrations")
|
||||
async def test_listing_webhook(
|
||||
hass: HomeAssistant,
|
||||
hass_ws_client: WebSocketGenerator,
|
||||
hass_access_token: str,
|
||||
enable_custom_integrations: None,
|
||||
) -> None:
|
||||
"""Test unregistering a webhook."""
|
||||
assert await async_setup_component(hass, "webhook", {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue