Skip to content

test(contracts): include doubao in expected TTS providers#102

Open
johan-studioe wants to merge 1 commit into
calesthio:mainfrom
johan-studioe:fix/doubao-tts-test-expectation
Open

test(contracts): include doubao in expected TTS providers#102
johan-studioe wants to merge 1 commit into
calesthio:mainfrom
johan-studioe:fix/doubao-tts-test-expectation

Conversation

@johan-studioe

Copy link
Copy Markdown

Summary

The Doubao TTS provider added in #57 makes test_registry_catalog_views fail — the expected provider set was never updated to include it, so the assertion sees a 5-provider catalog where it expects 4.

AssertionError: assert {'elevenlabs', 'piper', 'openai', 'doubao', 'google_tts'} == {'piper', 'elevenlabs', 'openai', 'google_tts'}
Extra items in the left set: 'doubao'

One-line fix: add 'doubao' to the expected set in test_phase3_contracts.py:146.

Test plan

  • pytest tests/contracts/test_phase3_contracts.py::TestCapabilityMetadata::test_registry_catalog_views — passes
  • Full pytest tests/contracts/ — 257 passed, 7 skipped, 1 unrelated failure (character-animation runtime-contract gap, separate issue)

🤖 Generated with Claude Code

test_registry_catalog_views expected 4 providers but the Doubao TTS
provider added in calesthio#57 makes the actual set 5, breaking the test.

Add 'doubao' to the expected set to match the registered tools.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@johan-studioe johan-studioe requested a review from calesthio as a code owner June 12, 2026 09:00
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