-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Create a comprehensive test that simulates the full workflow:
- Mock the Google Speech-to-Text API to return a fake transcript.
- Mock the Gemini API (LLM) to return structured task data from the transcript.
- Simulate a POST request to the /api/transcribe endpoint (if needed).
- Simulate a POST request to /api/save_task with the mocked Gemini output.
- Verify that the task is successfully saved to the database using get_all_tasks().
Goals:
- Validate that the full transcription-to-task flow works end-to-end.
- Ensure test reliability by monkey patching external dependencies.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels