Add persistent notifications to bootstrap (#3738)

* Add persistent notifications to bootstrap

* Rebase, Fix test
This commit is contained in:
Johann Kellerman 2016-10-13 18:09:07 +02:00 committed by Paulus Schoutsen
parent 39a446c43c
commit cb322f72db
4 changed files with 36 additions and 15 deletions

View file

@ -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