Fix warnings
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
""" Test of virtual switch """
|
""" Test of virtual switch """
|
||||||
|
|
||||||
# pylint: disable=wildcard-import, unused-wildcard-import, protected-access
|
# pylint: disable=wildcard-import, unused-wildcard-import, protected-access, line-too-long
|
||||||
|
|
||||||
|
from unittest.mock import patch, MagicMock, PropertyMock
|
||||||
import pytest
|
import pytest
|
||||||
from .commons import *
|
|
||||||
from unittest.mock import patch, call, MagicMock, PropertyMock
|
|
||||||
|
|
||||||
from homeassistant.const import STATE_ON, STATE_OFF
|
from homeassistant.const import STATE_ON, STATE_OFF
|
||||||
|
|
||||||
from custom_components.versatile_thermostat.underlyings import UnderlyingSwitch
|
from custom_components.versatile_thermostat.underlyings import UnderlyingSwitch
|
||||||
from custom_components.versatile_thermostat.thermostat_switch import ThermostatOverSwitch
|
from custom_components.versatile_thermostat.thermostat_switch import ThermostatOverSwitch
|
||||||
|
from .commons import *
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|||||||
Reference in New Issue
Block a user