diff --git a/worker/tests/stages/audit_summary.py b/worker/tests/stages/audit_summary.py index 0831368..1317879 100644 --- a/worker/tests/stages/audit_summary.py +++ b/worker/tests/stages/audit_summary.py @@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict): # Mock response for audit response = requests.post( - "http://localhost:5000/api/builder/summarizer/audit", + "http://localhost:5000/api/summarizer/audit", json={ "taskId": context.config.task_id, "roundNumber": round_number, diff --git a/worker/tests/stages/fetch_summarizer_todo.py b/worker/tests/stages/fetch_summarizer_todo.py index 75dedfe..582d03a 100644 --- a/worker/tests/stages/fetch_summarizer_todo.py +++ b/worker/tests/stages/fetch_summarizer_todo.py @@ -19,7 +19,7 @@ async def execute(context: Context, prepare_data: dict): # Mock response for fetching todo response = requests.post( - "http://localhost:5000/api/builder/summarizer/fetch-summarizer-todo", + "http://localhost:5000/api/summarizer/fetch-summarizer-todo", json={ "stakingKey": staking_key, "roundNumber": round_number, diff --git a/worker/tests/stages/generate_summary.py b/worker/tests/stages/generate_summary.py index 7a995e4..ee0ae24 100644 --- a/worker/tests/stages/generate_summary.py +++ b/worker/tests/stages/generate_summary.py @@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict): # Mock response for repo summary generation response = requests.post( - "http://localhost:5000/api/builder/summarizer/generate-summary", + "http://localhost:5000/api/summarizer/generate-summary", json={ "taskId": context.config.task_id, "round_number": str(round_number), diff --git a/worker/tests/stages/submit_summary.py b/worker/tests/stages/submit_summary.py index 3e76fa5..5cd4739 100644 --- a/worker/tests/stages/submit_summary.py +++ b/worker/tests/stages/submit_summary.py @@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict): # Mock response for submission response = requests.post( - "http://localhost:5000/api/builder/summarizer/submit", + "http://localhost:5000/api/summarizer/submit", json={ "taskId": context.config.task_id, "roundNumber": round_number, diff --git a/worker/tests/stages/validate_api_keys.py b/worker/tests/stages/validate_api_keys.py index 92913d1..5c3ef27 100644 --- a/worker/tests/stages/validate_api_keys.py +++ b/worker/tests/stages/validate_api_keys.py @@ -17,7 +17,7 @@ async def execute(context: Context, prepare_data: dict): # Mock response for Anthropic API validation response = requests.post( - "http://localhost:5000/api/builder/summarizer/validate-api-key", + "http://localhost:5000/api/summarizer/validate-api-key", json={"api_key": api_key}, )