Adjust pylint plugin for components fixtures (#90217)
* Adjust pylint plugin for components fixtures * Adjust components * Use MagicMock * Adjust * Use None
This commit is contained in:
parent
e0ec3488d3
commit
69a46d4002
21 changed files with 59 additions and 59 deletions
|
@ -1,4 +1,5 @@
|
|||
"""Test the switchbot sensors."""
|
||||
|
||||
from homeassistant.components.sensor import ATTR_STATE_CLASS
|
||||
from homeassistant.components.switchbot.const import DOMAIN
|
||||
from homeassistant.const import (
|
||||
|
@ -18,7 +19,9 @@ from tests.common import MockConfigEntry
|
|||
from tests.components.bluetooth import inject_bluetooth_service_info
|
||||
|
||||
|
||||
async def test_sensors(hass: HomeAssistant, entity_registry_enabled_by_default) -> None:
|
||||
async def test_sensors(
|
||||
hass: HomeAssistant, entity_registry_enabled_by_default: None
|
||||
) -> None:
|
||||
"""Test setting up creates the sensors."""
|
||||
await async_setup_component(hass, DOMAIN, {})
|
||||
inject_bluetooth_service_info(hass, WOHAND_SERVICE_INFO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue