Home Assistant stop is more robust

This commit is contained in:
Paulus Schoutsen committed 2014-11-28 20:22:08 -08:00
1 parent 89102b5652
commit 006310c883
9 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -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. """