Home Assistant stop is more robust
This commit is contained in:
1 parent
89102b5652
commit
006310c883
9 files changed
+16
-16
No files matched your search
@@ -34,7 +34,7 @@ class TestSwitch(unittest.TestCase):
|
||||
|
||||
def tearDown(self): # pylint: disable=invalid-name
|
||||
""" Stop down stuff we started. """
|
||||
self.hass._pool.stop()
|
||||
self.hass.stop()
|
||||
|
||||
def test_methods(self):
|
||||
""" Test is_on, turn_on, turn_off methods. """
|
||||
|
||||
Reference in new issue
Block a user