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()