UniFi simplify update (#24304)

This commit is contained in:
Robert Svensson 2019-06-15 17:38:22 +02:00 committed by GitHub
parent aa8ddeca34
commit e9b0f54a43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 90 additions and 134 deletions

View file

@ -4,8 +4,7 @@ from unittest.mock import Mock, patch
from homeassistant.components import unifi
from homeassistant.components.unifi import config_flow
from homeassistant.setup import async_setup_component
from homeassistant.components.unifi.const import (
CONF_POE_CONTROL, CONF_CONTROLLER, CONF_SITE_ID)
from homeassistant.components.unifi.const import CONF_CONTROLLER, CONF_SITE_ID
from homeassistant.const import (
CONF_HOST, CONF_PASSWORD, CONF_PORT, CONF_USERNAME, CONF_VERIFY_SSL)
@ -186,8 +185,7 @@ async def test_flow_works(hass, aioclient_mock):
CONF_PORT: 1234,
CONF_SITE_ID: 'default',
CONF_VERIFY_SSL: True
},
CONF_POE_CONTROL: True
}
}