1 parent
9e8c391c81
commit
d98114d2ab
6 files changed
+33
-9
No files matched your search
@@ -205,6 +205,8 @@ async def test_cloudhook_app_created_then_show_wait_form(
|
||||
hass, app, app_oauth_client, smartthings_mock
|
||||
):
|
||||
"""Test SmartApp is created with a cloudhoko and shows wait form."""
|
||||
hass.config.components.add("cloud")
|
||||
|
||||
# Unload the endpoint so we can reload it under the cloud.
|
||||
await smartapp.unload_smartapp_endpoint(hass)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user