Skip to content

test(openai-agents): Replace mocks with httpx in API error test#5601

Merged
alexander-alderman-webb merged 2 commits intomasterfrom
webb/openai-agents/api-error-test
Mar 9, 2026
Merged

test(openai-agents): Replace mocks with httpx in API error test#5601
alexander-alderman-webb merged 2 commits intomasterfrom
webb/openai-agents/api-error-test

Conversation

@alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Mar 6, 2026

Description

Replace mocks with httpx types to avoid test failures when library internals change.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title test(openai-agents): Replace mocks with httpx in API error test test(openai-agents): Replace mocks with httpx in API error test Mar 6, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Bug Fixes 🐛

  • (celery) Propagate user-set headers by sentrivana in #5581
  • (utils) Avoid double serialization of strings in safe_serialize by ericapisani in #5587

Documentation 📚

  • (openai-agents) Remove inapplicable comment by alexander-alderman-webb in #5495
  • Add AGENTS.md by sentrivana in #5579
  • Add set_attribute example to changelog by sentrivana in #5578

Internal Changes 🔧

Openai Agents

  • Replace mocks with httpx in API error test by alexander-alderman-webb in #5601
  • Expect namespace tool field for new openai versions by alexander-alderman-webb in #5599

🤖 This preview updates automatically when you update the PR.

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review March 6, 2026 11:58
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner March 6, 2026 11:58
@alexander-alderman-webb alexander-alderman-webb merged commit 1d4adf0 into master Mar 9, 2026
151 of 157 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/openai-agents/api-error-test branch March 9, 2026 09:27
ericapisani pushed a commit that referenced this pull request Mar 9, 2026
)

Replace mocks with `httpx` types to avoid test failures when library internals change.
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.

3 participants