mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Validate go2rtc server version (#129810)
This commit is contained in:
@@ -47,6 +47,7 @@ def mock_tempfile() -> Generator[Mock]:
|
||||
)
|
||||
async def test_server_run_success(
|
||||
mock_create_subprocess: AsyncMock,
|
||||
rest_client: AsyncMock,
|
||||
server_stdout: list[str],
|
||||
server: Server,
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
@@ -95,7 +96,7 @@ webrtc:
|
||||
|
||||
@pytest.mark.usefixtures("mock_tempfile")
|
||||
async def test_server_timeout_on_stop(
|
||||
mock_create_subprocess: MagicMock, server: Server
|
||||
mock_create_subprocess: MagicMock, rest_client: AsyncMock, server: Server
|
||||
) -> None:
|
||||
"""Test server run where the process takes too long to terminate."""
|
||||
# Start server thread
|
||||
|
||||
Reference in New Issue
Block a user