Thread pool tweaks

This commit is contained in:
Paulus Schoutsen
2016-02-14 23:01:49 -08:00
parent 8d366a7367
commit 68803a46b6
8 changed files with 45 additions and 38 deletions

View File

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