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

@ -269,11 +269,12 @@ class TestBootstrap:
def test_home_assistant_core_config_validation(self):
"""Test if we pass in wrong information for HA conf."""
# Extensive HA conf validation testing is done in test_config.py
hass = get_test_home_assistant()
assert None is bootstrap.from_config_dict({
'homeassistant': {
'latitude': 'some string'
}
})
}, hass=hass)
def test_component_setup_with_validation_and_dependency(self):
"""Test all config is passed to dependencies."""