Add persistent notifications to bootstrap (#3738)

* Add persistent notifications to bootstrap

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

No files matched your search

+3 -2
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