mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
async HTTP component (#3914)
* Migrate WSGI to asyncio * Rename wsgi -> http * Python 3.4 compat * Move linting to Python 3.4 * lint * Lint * Fix Python 3.4 mock_open + binary data * Surpress logging aiohttp.access * Spelling * Sending files is a coroutine * More callback annotations and naming fixes * Fix ios
This commit is contained in:
@@ -18,7 +18,7 @@ class TestUVCSetup(unittest.TestCase):
|
||||
def setUp(self):
|
||||
"""Setup things to be run when tests are started."""
|
||||
self.hass = get_test_home_assistant()
|
||||
self.hass.wsgi = mock.MagicMock()
|
||||
self.hass.http = mock.MagicMock()
|
||||
self.hass.config.components = ['http']
|
||||
|
||||
def tearDown(self):
|
||||
|
||||
Reference in New Issue
Block a user