mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 13:30:43 +00:00
Thread pool tweaks
This commit is contained in:
@@ -59,6 +59,9 @@ def tearDownModule(): # pylint: disable=invalid-name
|
||||
class TestAPI(unittest.TestCase):
|
||||
""" Test the API. """
|
||||
|
||||
def tearDown(self):
|
||||
hass.pool.block_till_done()
|
||||
|
||||
# TODO move back to http component and test with use_auth.
|
||||
def test_access_denied_without_password(self):
|
||||
req = requests.get(_url(const.URL_API))
|
||||
|
||||
Reference in New Issue
Block a user