Guard cloud check (#27901)

* Guard cloud check

* Fix pos args
This commit is contained in:
Paulus Schoutsen 2019-10-18 18:08:54 -07:00 committed by Andrew Sayre
parent 9e8c391c81
commit d98114d2ab
6 changed files with 33 additions and 9 deletions

View file

@ -268,6 +268,7 @@ async def test_remove_entry(hass, config_entry, smartthings_mock):
async def test_remove_entry_cloudhook(hass, config_entry, smartthings_mock):
"""Test that the installed app, app, and cloudhook are removed up."""
hass.config.components.add("cloud")
# Arrange
config_entry.add_to_hass(hass)
hass.data[DOMAIN][CONF_CLOUDHOOK_URL] = "https://test.cloud"