mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 16:15:08 +02:00
Fixed Demo Test Cases
This commit is contained in:
@@ -37,14 +37,14 @@ class TestGarageDoorDemo(unittest.TestCase):
|
||||
self.hass.states.is_state(RIGHT, 'open')
|
||||
|
||||
def test_open_door(self):
|
||||
gd.open_door(self.hass, LEFT)
|
||||
gd.open(self.hass, LEFT)
|
||||
|
||||
self.hass.pool.block_till_done()
|
||||
|
||||
self.assertFalse(gd.is_closed(self.hass, LEFT))
|
||||
|
||||
def test_close_door(self):
|
||||
gd.close_door(self.hass, RIGHT)
|
||||
gd.close(self.hass, RIGHT)
|
||||
|
||||
self.hass.pool.block_till_done()
|
||||
|
||||
|
Reference in New Issue
Block a user