Load HA core config from storage (#23872)

* Load HA core config from storage

* Tweak

* Lint, review comments

* Fix test

* Add tests

* Lint

* Address comments
This commit is contained in:
Erik Montnemery 2019-05-16 16:27:53 +02:00 committed by Paulus Schoutsen
parent 9be384690a
commit c2fc8a0d61
4 changed files with 137 additions and 15 deletions

View file

@ -900,6 +900,7 @@ class TestConfig(unittest.TestCase):
'config_dir': '/tmp/ha-config',
'whitelist_external_dirs': set(),
'version': __version__,
'config_source': None,
}
assert expected == self.config.as_dict()