Make the async_setup_recorder_instance fixture a context manager (#121086)
This commit is contained in:
parent
61f1c8d963
commit
5029da6919
14 changed files with 51 additions and 22 deletions
|
@ -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."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue