Traceback (most recent call last):

 "/home/lmacken/code/github.com/pyrasite/tests/test_code_injection.py", line 50, in test_multithreaded_injection
"Multi-threaded code injection failed"AssertionError: AssertionError: Multi-threaded code injection failed
Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start

resp = await task


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle

resp = await handler(request)


 "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 40, in real_ip_middleware

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 73, in ban_middleware

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 231, in auth_middleware

return await handler(request)


 "/usr/src/homeassistant/homeassistant/components/http/view.py", line 128, in handle

result = await result


 "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 131, in post

return await super().post(request)


 "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 48, in wrapper

result = await method(view, request, *args, **kwargs)


 "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 60, in post

handler, context={"source": config_entries.SOURCE_USER}


 "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 73, in async_init

return await self._async_handle_step(flow, flow.init_step, data)


 "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 132, in _async_handle_step

result: Dict = await getattr(flow, method)(user_input)


 "/usr/src/homeassistant/homeassistant/components/deconz/config_flow.py", line 90, in async_step_user

self.bridges = await async_discovery(session)


 "/usr/local/lib/python3.7/site-packages/pydeconz/utils.py", line 66, in async_discovery

response = await async_request(session.get, URL_DISCOVER)


 "/usr/local/lib/python3.7/site-packages/pydeconz/utils.py", line 91, in async_request

"Invalid content type: {}".format(res.content_type))
pydeconz.errors.ResponseError: Invalid content type: text/html
