Skip to content

fix: Resolve CI test failures#15

Merged
jeremyeder merged 1 commit into
mainfrom
fix/ci-test-failures
Feb 4, 2026
Merged

fix: Resolve CI test failures#15
jeremyeder merged 1 commit into
mainfrom
fix/ci-test-failures

Conversation

@jeremyeder
Copy link
Copy Markdown
Contributor

Summary

Fix test import errors that are causing CI to fail.

Changes

  • Import formatting functions from mcp_acp.formatters instead of mcp_acp.server
  • Remove underscore prefixes from function names (_format_*format_*)
  • Update all test method calls to use public function names

Root Cause

Formatting functions were moved from server.py to formatters.py in a previous refactoring, but test imports were not updated. Functions also changed from private (_format_*) to public (format_*) names.

Error Fixed

ImportError: cannot import name '_format_bulk_result' from 'mcp_acp.server'

Testing

  • Tests import correctly
  • CI passes (will verify after push)

This is a separate PR from the caching optimizations (#14) to keep changes focused and avoid mixing unrelated fixes.

🤖 Generated with Claude Code

Fix ImportError in test_server.py by updating imports to use the correct
module and function names. Formatting functions were moved from server.py
to formatters.py and don't have underscore prefixes.

Changes:
- Import formatting functions from mcp_acp.formatters instead of mcp_acp.server
- Remove underscore prefixes from function names (_format_* -> format_*)
- Update all test method calls to use public function names

This resolves the CI import error:
ImportError: cannot import name '_format_bulk_result' from 'mcp_acp.server'

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jeremyeder jeremyeder merged commit 3b90d0a into main Feb 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant