Block tests from opening sockets (#55516)
This commit is contained in:
parent
a8b7c521f6
commit
f6682ba99d
10 changed files with 135 additions and 5 deletions
|
@ -79,6 +79,12 @@ async def frontend_themes(hass):
|
|||
)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def aiohttp_client(loop, aiohttp_client, socket_enabled):
|
||||
"""Return aiohttp_client and allow opening sockets."""
|
||||
return aiohttp_client
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
async def mock_http_client(hass, aiohttp_client, frontend):
|
||||
"""Start the Home Assistant HTTP component."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue