Fix up docstring for tests (#5090)

This commit is contained in:
Johann Kellerman authored and GitHub committed 2016-12-28 20:04:59 +02:00
1 parent 98efbbc129
commit f0b1874d2d
19 files changed
+61 -59

No files matched your search

+2 -1
View File
@@ -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(