mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 22:27:07 +00:00
Reset logging level in esphome test (#143291)
This commit is contained in:
parent
ec55f716e1
commit
8f4435019b
@ -958,8 +958,10 @@ async def test_debug_logging(
|
||||
[APIClient, list[EntityInfo], list[UserService], list[EntityState]],
|
||||
Awaitable[MockConfigEntry],
|
||||
],
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
) -> None:
|
||||
"""Test enabling and disabling debug logging."""
|
||||
with caplog.at_level(logging.NOTSET, "homeassistant.components.esphome"):
|
||||
assert await async_setup_component(hass, "logger", {"logger": {}})
|
||||
await mock_generic_device_entry(
|
||||
mock_client=mock_client,
|
||||
|
Loading…
x
Reference in New Issue
Block a user