From bd9e71e26bd454b87f8b7ea9aa73a3ff99601c98 Mon Sep 17 00:00:00 2001 From: henryruhs Date: Mon, 19 Oct 2026 20:30:34 +0200 Subject: [PATCH] rename websocket_store to websocket_manager --- tests/apis/test_websocket_manager.py | 2 +- tests/test_store_manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/apis/test_websocket_manager.py b/tests/apis/test_websocket_manager.py index b3b350fc..3b8f59d1 100644 --- a/tests/apis/test_websocket_manager.py +++ b/tests/apis/test_websocket_manager.py @@ -32,7 +32,7 @@ def test_init() -> None: @pytest.mark.asyncio -async def test_has_websocket() -> None: +async def test_has_connection() -> None: websocket_mock = AsyncMock() assert has_connection('stream') is False diff --git a/tests/test_store_manager.py b/tests/test_store_manager.py index d74fcc08..f780675b 100644 --- a/tests/test_store_manager.py +++ b/tests/test_store_manager.py @@ -63,7 +63,7 @@ def test_is_busy() -> None: with patch('facefusion.rtc_manager.has_peer', return_value = True): assert is_busy() is True - with patch('facefusion.apis.websocket_manager.has_websocket', return_value = True): + with patch('facefusion.apis.websocket_manager.has_connection', return_value = True): assert is_busy() is True fork_id = fork_session()