Add persistent notifications to bootstrap (#3738)
* Add persistent notifications to bootstrap * Rebase, Fix test
This commit is contained in:
parent
39a446c43c
commit
cb322f72db
4 changed files with 36 additions and 15 deletions
|
@ -199,9 +199,10 @@ def check(config_path):
|
|||
res['secrets'][node.value] = val
|
||||
return val
|
||||
|
||||
def mock_except(ex, domain, config): # pylint: disable=unused-variable
|
||||
def mock_except(ex, domain, config, # pylint: disable=unused-variable
|
||||
hass=None):
|
||||
"""Mock bootstrap.log_exception."""
|
||||
MOCKS['except'][1](ex, domain, config)
|
||||
MOCKS['except'][1](ex, domain, config, hass)
|
||||
res['except'][domain] = config.get(domain, config)
|
||||
|
||||
# Patches to skip functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue