Fix tests closing properly (#5203)
This commit is contained in:
1 parent
2b991e2f32
commit
aa1e4c564c
14 files changed
+108
-83
No files matched your search
@@ -41,6 +41,10 @@ class TestDarkSkySetup(unittest.TestCase):
|
||||
self.hass.config.longitude = self.lon
|
||||
self.entities = []
|
||||
|
||||
def tearDown(self): # pylint: disable=invalid-name
|
||||
"""Stop everything that was started."""
|
||||
self.hass.stop()
|
||||
|
||||
def test_setup_with_config(self):
|
||||
"""Test the platform setup with configuration."""
|
||||
self.assertTrue(
|
||||
|
||||
Reference in new issue
Block a user