Remove config check over supervisor (#22156)

* Remove config check over supervisor

* Fix lint

* Fix tests
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2019-03-18 16:58:48 -07:00
1 parent e5a2ef9b8d
commit ecfe0fc3dd
4 files changed
+19 -70

No files matched your search

-11
View File
@@ -74,17 +74,6 @@ async def test_api_homeassistant_restart(hassio_handler, aioclient_mock):
assert aioclient_mock.call_count == 1
async def test_api_homeassistant_config(hassio_handler, aioclient_mock):
"""Test setup with API HomeAssistant config."""
aioclient_mock.post(
"http://127.0.0.1/homeassistant/check", json={
'result': 'ok', 'data': {'test': 'bla'}})
data = await hassio_handler.check_homeassistant_config()
assert data['data']['test'] == 'bla'
assert aioclient_mock.call_count == 1
async def test_api_addon_info(hassio_handler, aioclient_mock):
"""Test setup with API Add-on info."""
aioclient_mock.get(