Add missing hass type hint in component tests (l) (#124220)
This commit is contained in:
parent
16e52f0427
commit
02139fcca6
7 changed files with 119 additions and 91 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue