def mock_http_component(hass):
    hass.http = MockHTTP()
    hass.config.components.append('http')
Using a SocketServer to create and manage SSL connections.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/mock_http_component--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_ssl.py/ThreadedTests.test_socketserver