mirror of
https://github.com/home-assistant/core.git
synced 2025-07-10 14:57:09 +00:00
Fixed Demo Test Cases
This commit is contained in:
parent
f464d591c9
commit
034cec7152
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user