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
14 changed files with 51 additions and 22 deletions

View File

@@ -100,7 +100,7 @@ _TEST_FIXTURES: dict[str, list[str] | str] = {
"aiohttp_client": "ClientSessionGenerator",
"aiohttp_server": "Callable[[], TestServer]",
"area_registry": "AreaRegistry",
"async_setup_recorder_instance": "RecorderInstanceGenerator",
"async_test_recorder": "RecorderInstanceGenerator",
"caplog": "pytest.LogCaptureFixture",
"capsys": "pytest.CaptureFixture[str]",
"current_request_with_host": "None",