Remove all empty *_setup_platform() from integrations (#31025)

* Remove all empty *_setup_platform() from integrations

* Fix tests for smartthings

* Fix tests for heos
This commit is contained in:
Franck Nijhof authored and GitHub committed 2020-01-21 12:38:38 +01:00
1 parent 41014d73be
commit fb35d382e1
89 files changed
-451

No files matched your search

@@ -6,7 +6,6 @@ real HTTP calls are not initiated during testing.
"""
from pysmartthings import Attribute, Capability
from homeassistant.components.smartthings import switch
from homeassistant.components.smartthings.const import DOMAIN, SIGNAL_SMARTTHINGS_UPDATE
from homeassistant.components.switch import (
ATTR_CURRENT_POWER_W,
@@ -18,11 +17,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send
from .conftest import setup_platform
async def test_async_setup_platform():
"""Test setup platform does nothing (it uses config entries)."""
await switch.async_setup_platform(None, None, None)
async def test_entity_and_device_attributes(hass, device_factory):
"""Test the attributes of the entity are correct."""
# Arrange