Fire event when core config is updated (#23922)

* Fire event when core config is updated
This commit is contained in:
Erik Montnemery 2019-05-20 20:02:36 +02:00 committed by GitHub
parent eb912be47a
commit afe9fc221e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 180 additions and 97 deletions

View file

@ -122,7 +122,6 @@ def get_test_home_assistant():
async def async_test_home_assistant(loop):
"""Return a Home Assistant object pointing at test config dir."""
hass = ha.HomeAssistant(loop)
hass.config.async_load = Mock()
store = auth_store.AuthStore(hass)
hass.auth = auth.AuthManager(hass, store, {}, {})
ensure_auth_manager_loaded(hass.auth)