mirror of
https://github.com/home-assistant/core.git
synced 2026-09-26 17:31:15 -04:00
Fix tests closing properly (#5203)
This commit is contained in:
@@ -31,6 +31,10 @@ class TestSleepIQBinarySensorSetup(unittest.TestCase):
|
||||
'password': self.password,
|
||||
}
|
||||
|
||||
def tearDown(self): # pylint: disable=invalid-name
|
||||
"""Stop everything that was started."""
|
||||
self.hass.stop()
|
||||
|
||||
@requests_mock.Mocker()
|
||||
def test_setup(self, mock):
|
||||
"""Test for successfully setting up the SleepIQ platform."""
|
||||
|
||||
Reference in New Issue
Block a user