1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Fix tests closing properly (#5203)

This commit is contained in:
Paulus Schoutsen
2017-01-07 01:47:25 +01:00
committed by GitHub
parent 2b991e2f32
commit aa1e4c564c
14 changed files with 108 additions and 83 deletions

View File

@@ -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)