Make the async_setup_recorder_instance fixture a context manager (#121086)

This commit is contained in:
Erik Montnemery 2024-07-03 21:05:34 +02:00 committed by GitHub
parent 61f1c8d963
commit 5029da6919
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 51 additions and 22 deletions

View file

@ -95,7 +95,7 @@ KW_SENSOR_ATTRIBUTES = {
@pytest.fixture
async def mock_recorder_before_hass(
async_setup_recorder_instance: RecorderInstanceGenerator,
async_test_recorder: RecorderInstanceGenerator,
) -> None:
"""Set up recorder patches."""