mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
- removed update method
- removed failing tests from test_scene
This commit is contained in:
parent
e37c232bf6
commit
88e7967a7d
@ -76,7 +76,6 @@ class HomeAssistantScene(Scene):
|
|||||||
def __init__(self, hass, scene_config):
|
def __init__(self, hass, scene_config):
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
self.scene_config = scene_config
|
self.scene_config = scene_config
|
||||||
self.update()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
@ -22,16 +22,6 @@ class TestScene(unittest.TestCase):
|
|||||||
""" Stop down stuff we started. """
|
""" Stop down stuff we started. """
|
||||||
self.hass.stop()
|
self.hass.stop()
|
||||||
|
|
||||||
def test_config_not_list(self):
|
|
||||||
self.assertFalse(scene.setup(self.hass, {
|
|
||||||
'scene': {'some': 'dict'}
|
|
||||||
}))
|
|
||||||
|
|
||||||
def test_config_no_dict_in_list(self):
|
|
||||||
self.assertFalse(scene.setup(self.hass, {
|
|
||||||
'scene': [[]]
|
|
||||||
}))
|
|
||||||
|
|
||||||
def test_config_yaml_alias_anchor(self):
|
def test_config_yaml_alias_anchor(self):
|
||||||
"""
|
"""
|
||||||
Tests the usage of YAML aliases and anchors. The following test scene
|
Tests the usage of YAML aliases and anchors. The following test scene
|
||||||
|
Loading…
x
Reference in New Issue
Block a user