Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup hass.io component #12556

Merged
merged 6 commits into from
Feb 20, 2018
Merged

Cleanup hass.io component #12556

merged 6 commits into from
Feb 20, 2018

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Feb 20, 2018

Description:

A small cleanup of hass.io component for more readable code parts.

API_PASSWORD = 'pass1234'


@pytest.fixture

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redefinition of unused 'hassio_env' from line 11

from homeassistant.setup import async_setup_component

from tests.common import mock_coro
from .test_init import hassio_env

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'.test_init.hassio_env' imported but unused

from homeassistant.components.hassio import async_check_config

from tests.common import mock_coro
from .test_init import hassio_env

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'.test_init.hassio_env' imported but unused

from homeassistant.setup import async_setup_component
from homeassistant.components.hassio import async_check_config

from tests.common import mock_coro

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'tests.common.mock_coro' imported but unused

import pytest

from homeassistant.setup import async_setup_component
from homeassistant.components.hassio import async_check_config

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'homeassistant.components.hassio.async_check_config' imported but unused

import os
from unittest.mock import patch, Mock

import pytest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'pytest' imported but unused

"""The tests for the hassio component."""
import asyncio
import os
from unittest.mock import patch, Mock

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'unittest.mock.Mock' imported but unused

import os
from unittest.mock import patch, Mock

import pytest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'pytest' imported but unused

import os
from unittest.mock import patch, Mock

import pytest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'pytest' imported but unused

@balloob balloob merged commit 4f96eeb into dev Feb 20, 2018
@balloob balloob deleted the hassio-cleanup branch February 20, 2018 23:24
@balloob balloob mentioned this pull request Feb 22, 2018
@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants