Move enable_custom_integrations fixture to decorator (#118844)

This commit is contained in:
epenet 2024-06-05 09:20:08 +02:00 committed by GitHub
parent 985e42e50c
commit c7e065c413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 112 additions and 121 deletions

View file

@ -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", {})