Allow embedded platforms (#19948)
* Allow embedded platforms * Fix test
This commit is contained in:
1 parent
b3a08d5876
commit
a8f22287ca
6 files changed
+31
-8
No files matched your search
@@ -11,7 +11,7 @@ import pytest
|
||||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.components import hue
|
||||
import homeassistant.components.light.hue as hue_light
|
||||
from homeassistant.components.hue import light as hue_light
|
||||
from homeassistant.util import color
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
@@ -35,7 +35,6 @@ class TestLoader(unittest.TestCase):
|
||||
def test_get_component(self):
|
||||
"""Test if get_component works."""
|
||||
assert http == loader.get_component(self.hass, 'http')
|
||||
assert loader.get_component(self.hass, 'light.hue') is not None
|
||||
|
||||
def test_load_order_component(self):
|
||||
"""Test if we can get the proper load order of components."""
|
||||
|
||||
Reference in new issue
Block a user