mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Fix a collection of tests with missing asserts (#48127)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -165,9 +165,9 @@ async def test_can_set_level(hass):
|
||||
logger.DOMAIN, "set_level", {f"{UNCONFIG_NS}.any": "debug"}, blocking=True
|
||||
)
|
||||
|
||||
logging.getLogger(UNCONFIG_NS).level == logging.NOTSET
|
||||
logging.getLogger(f"{UNCONFIG_NS}.any").level == logging.DEBUG
|
||||
logging.getLogger(UNCONFIG_NS).level == logging.NOTSET
|
||||
assert logging.getLogger(UNCONFIG_NS).level == logging.NOTSET
|
||||
assert logging.getLogger(f"{UNCONFIG_NS}.any").level == logging.DEBUG
|
||||
assert logging.getLogger(UNCONFIG_NS).level == logging.NOTSET
|
||||
|
||||
await hass.services.async_call(
|
||||
logger.DOMAIN, "set_default_level", {"level": "debug"}, blocking=True
|
||||
|
||||
Reference in New Issue
Block a user