Test fixes (#22911)

* Fix light tests [skip ci]

* Fix tests/common

* Fix some mqtt tests [skip ci]

* Fix tests and component manifests which have only one platform

* Fix more tests and manifests

* Fix demo/notify tests

* Rollback test for demo.geo_location
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-04-08 23:16:55 -07:00
1 parent 1a05f7b04d
commit 590eead128
20 files changed
+68 -48

No files matched your search

@@ -81,6 +81,7 @@ async def test_manual_config_set(hass, mock_try_connection,
"""Test we ignore entry if manual config available."""
assert await async_setup_component(
hass, 'mqtt', {'mqtt': {'broker': 'bla'}})
await hass.async_block_till_done()
assert len(mock_finish_setup.mock_calls) == 1
mock_try_connection.return_value = True