Fix up docstring for tests (#5090)
This commit is contained in:
1 parent
98efbbc129
commit
f0b1874d2d
19 files changed
+61
-59
No files matched your search
@@ -50,14 +50,15 @@ class TestLiteJetScene(unittest.TestCase):
|
||||
self.hass.stop()
|
||||
|
||||
def scene(self):
|
||||
"""Get the current scene."""
|
||||
return self.hass.states.get(ENTITY_SCENE)
|
||||
|
||||
def other_scene(self):
|
||||
"""Get the other scene."""
|
||||
return self.hass.states.get(ENTITY_OTHER_SCENE)
|
||||
|
||||
def test_activate(self):
|
||||
"""Test activating the scene."""
|
||||
|
||||
scene.activate(self.hass, ENTITY_SCENE)
|
||||
self.hass.block_till_done()
|
||||
self.mock_lj.activate_scene.assert_called_once_with(
|
||||
|
||||
Reference in new issue
Block a user