Skip to content

Commit ff97f8a

Browse files
committed
♻️ Unit test fix: refactor voice_app #1177
1 parent ae35c7f commit ff97f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/backend/services/test_voice_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, config):
2828
self.config = config
2929
self.check_connectivity = AsyncMock(return_value=True)
3030

31-
def generate_speech(self, text: str, stream: bool = False):
31+
async def generate_speech(self, text: str, stream: bool = False):
3232
"""Mock implementation that returns appropriate data based on stream parameter"""
3333
if stream:
3434
# Return an async generator for streaming

0 commit comments

Comments
 (0)