Move mock_hass_config fixture to decorator (#118807)

This commit is contained in:
epenet
2024-06-04 16:05:56 +02:00
committed by GitHub
parent 2ac5f8db06
commit 089874f818
4 changed files with 20 additions and 25 deletions

View File

@ -928,9 +928,9 @@ def test_entity_device_info_schema() -> None:
}
],
)
@pytest.mark.usefixtures("mock_hass_config")
async def test_handle_logging_on_writing_the_entity_state(
hass: HomeAssistant,
mock_hass_config: None,
mqtt_mock_entry: MqttMockHAClientGenerator,
caplog: pytest.LogCaptureFixture,
) -> None: