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
@@ -29,7 +29,7 @@ class TestLight(unittest.TestCase):
def tearDown(self): # pylint: disable=invalid-name
""" Stop down stuff we started. """
self.hass._pool.stop()
self.hass.stop()
user_light_file = self.hass.get_config_path(light.LIGHT_PROFILES_FILE)