Skip to content

test(openai-agents): Replace mocks with httpx in non-error single-response tests#5600

Merged
alexander-alderman-webb merged 10 commits intomasterfrom
webb/openai-agents/non-error-single-response
Mar 9, 2026
Merged

test(openai-agents): Replace mocks with httpx in non-error single-response tests#5600
alexander-alderman-webb merged 10 commits intomasterfrom
webb/openai-agents/non-error-single-response

Conversation

@alexander-alderman-webb
Copy link
Copy Markdown
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 non-error single-res… test(openai-agents): Replace mocks with httpx in non-error single-response tests Mar 6, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title test(openai-agents): Replace mocks with httpx in non-error single-response tests test(openai-agents): Replace mocks with httpx in non-error single-response tests Mar 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 6, 2026

Codecov Results 📊

27 passed | Total: 27 | Pass Rate: 100% | Execution Time: 3.68s

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 14117 uncovered lines.


Generated by Codecov Action

@github-actions
Copy link
Copy Markdown
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 non-error single-response tests by alexander-alderman-webb in #5600
  • Remove test for unreachable state by alexander-alderman-webb in #5584
  • 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:59
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner March 6, 2026 11:59
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@alexander-alderman-webb alexander-alderman-webb merged commit 53e2148 into master Mar 9, 2026
155 of 160 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/openai-agents/non-error-single-response branch March 9, 2026 08:53
ericapisani pushed a commit that referenced this pull request Mar 9, 2026
…esponse tests (#5600)

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