The AnthropicOAuthProvider always includes hardcoded beta flags:
- claude-code-20250219
- oauth-2025-04-20
- context-management-2025-06-27
Tool-specific beta flags are then merged with these and sorted
alphabetically. Tests were only checking for tool flags, not the
combined result.
Changes:
- ✅ Updated test_oauth_utils.py to expect all hardcoded flags
- ✅ Updated test_beta_flags_collected_from_tools to expect combined flags
- ✅ Updated test_multiple_beta_flags_joined to expect combined flags
All 3 beta flags tests now pass.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>