Skip to content

Commit

Permalink
Fix hound comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kane610 committed Feb 1, 2019
1 parent e7ee744 commit c4f9497
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion homeassistant/components/axis/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ async def async_step_user(self, user_input=None):
}
device = await get_device(self.hass, self.device_config)

self.serial_number = device.vapix.get_param(VAPIX_SERIAL_NUMBER)
self.serial_number = device.vapix.get_param(
VAPIX_SERIAL_NUMBER)
self.model_id = device.vapix.get_param(VAPIX_MODEL_ID)

if self.import_schema:
Expand Down
3 changes: 2 additions & 1 deletion homeassistant/components/camera/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
https://home-assistant.io/components/camera.axis/
"""

from homeassistant.components.axis.const import DOMAIN as AXIS_DOMAIN
from homeassistant.components.axis.const import (
CONF_DEVICE, DOMAIN as AXIS_DOMAIN)
from homeassistant.components.camera.mjpeg import (
CONF_MJPEG_URL, CONF_STILL_IMAGE_URL, MjpegCamera, filter_urllib3_logging)
from homeassistant.const import (
Expand Down
3 changes: 1 addition & 2 deletions tests/components/axis/test_init.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Test Axis component setup process."""
from unittest.mock import Mock, patch
from unittest.mock import patch

from homeassistant.setup import async_setup_component
from homeassistant.components import axis
Expand Down Expand Up @@ -107,4 +107,3 @@ async def test_setup_return_false(hass):
assert await axis.async_setup_entry(hass, entry) is False

assert 'mac mock' in hass.data[axis.DOMAIN]

0 comments on commit c4f9497

Please sign in to comment.