Add missing hass type hint in component tests (l) (#124220)

This commit is contained in:
epenet 2024-08-19 15:36:23 +02:00 committed by GitHub
parent 16e52f0427
commit 02139fcca6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 119 additions and 91 deletions

View file

@ -226,7 +226,7 @@ async def test_can_set_level_from_store(
_reset_logging()
async def _assert_log_levels(hass):
async def _assert_log_levels(hass: HomeAssistant) -> None:
assert logging.getLogger(UNCONFIG_NS).level == logging.NOTSET
assert logging.getLogger(UNCONFIG_NS).isEnabledFor(logging.CRITICAL) is True
assert (