mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 05:26:47 +00:00
Make home assistant discoverable via UPnP/SSDP (#79820)
This commit is contained in:
@@ -12,7 +12,9 @@ from tests.components.blueprint.conftest import stub_blueprint_populate # noqa:
|
||||
@pytest.fixture(autouse=True)
|
||||
def mock_ssdp():
|
||||
"""Mock ssdp."""
|
||||
with patch("homeassistant.components.ssdp.Scanner.async_scan"):
|
||||
with patch("homeassistant.components.ssdp.Scanner.async_scan"), patch(
|
||||
"homeassistant.components.ssdp.Server.async_start"
|
||||
), patch("homeassistant.components.ssdp.Server.async_stop"):
|
||||
yield
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user