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
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue