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
@@ -210,6 +210,7 @@ class TestAutomatic(unittest.TestCase):
|
||||
|
||||
def tearDown(self):
|
||||
"""Tear down test data."""
|
||||
self.hass.stop()
|
||||
|
||||
@patch('requests.get', side_effect=mocked_requests)
|
||||
@patch('requests.post', side_effect=mocked_requests)
|
||||
|
||||
Reference in new issue
Block a user