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

@ -80,10 +80,9 @@ async def test_websocket(
}
@pytest.mark.usefixtures("enable_custom_integrations")
async def test_download_diagnostics(
hass: HomeAssistant,
hass_client: ClientSessionGenerator,
enable_custom_integrations: None,
hass: HomeAssistant, hass_client: ClientSessionGenerator
) -> None:
"""Test download diagnostics."""
config_entry = MockConfigEntry(domain="fake_integration")