Guard cloud check (#27901)

* Guard cloud check

* Fix pos args
This commit is contained in:
Paulus Schoutsen authored and Andrew Sayre committed 2019-10-18 20:08:53 -05:00
1 parent 9e8c391c81
commit d98114d2ab
6 files changed
+33 -9

No files matched your search

@@ -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"