René's URL Explorer Experiment


Title: test(openai-agents): Replace mocks with `httpx` in API error test by alexander-alderman-webb · Pull Request #5601 · getsentry/sentry-python · GitHub

Open Graph Title: test(openai-agents): Replace mocks with `httpx` in API error test by alexander-alderman-webb · Pull Request #5601 · getsentry/sentry-python

X Title: test(openai-agents): Replace mocks with `httpx` in API error test by alexander-alderman-webb · Pull Request #5601 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...

X Description: Description Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5601

X: @github

direct link

Domain: redirect.github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:00e87083-a70a-435a-ea46-5566cf6a9477
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCFE0:EDA7A:32A549:41B69E:6B00D0FC
html-safe-nonce7032170415d2dca4b7ca9985baa8d21feafc8e0b00d0c3eb5a06da8d0351c0d4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkUwOkVEQTdBOjMyQTU0OTo0MUI2OUU6NkIwMEQwRkMiLCJ2aXNpdG9yX2lkIjoiOTU5NDg1NzIyODA3NTU0MzAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac930b94bfd7f6093f979b8ebd8b8a78fb95030c5decf10405992b6308dc20e9f8
hovercard-subject-tagpull_request:3363140154
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5601/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/902a74a497504bace85710fe8e9e2c68a3dbdf635c5ca2cde2f8d8b065b2ee91/getsentry/sentry-python/pull/5601
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/902a74a497504bace85710fe8e9e2c68a3dbdf635c5ca2cde2f8d8b065b2ee91/getsentry/sentry-python/pull/5601
og:image:altDescription Replace mocks with httpx types to avoid test failures when library internals change. Issues Reminders Please add tests to validate your changes, and lint your code using tox -e linte...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/getsentry/sentry-python/pull/5601#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5601
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5601
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5601
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5601
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5601
getsentryhttps://redirect.github.com/getsentry
sentry-pythonhttps://redirect.github.com/getsentry/sentry-python
Codehttps://redirect.github.com/getsentry/sentry-python
Issues345 (345)https://redirect.github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://redirect.github.com/getsentry/sentry-python/pulls
Discussionshttps://redirect.github.com/getsentry/sentry-python/discussions
Actionshttps://redirect.github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://redirect.github.com/getsentry/sentry-python/security
Insightshttps://redirect.github.com/getsentry/sentry-python/insights
https://redirect.github.com/getsentry/sentry-python
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
webb/openai-agents/api-error-testhttps://redirect.github.com/getsentry/sentry-python/tree/webb/openai-agents/api-error-test
Conversationhttps://redirect.github.com/getsentry/sentry-python/pull/5601
Commits2 (2)https://redirect.github.com/getsentry/sentry-python/pull/5601/commits
Checkshttps://redirect.github.com/getsentry/sentry-python/pull/5601/checks
Files changedhttps://redirect.github.com/getsentry/sentry-python/pull/5601/files
test(openai-agents): Replace mocks with httpx in API error testhttps://redirect.github.com/getsentry/sentry-python/pull/5601#top
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
webb/openai-agents/api-error-testhttps://redirect.github.com/getsentry/sentry-python/tree/webb/openai-agents/api-error-test
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Mar 6, 2026https://redirect.github.com/getsentry/sentry-python/pull/5601#issue-4033379695
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/alexander-alderman-webb
test(openai-agents): Replace mocks with httpx in API error testhttps://redirect.github.com/getsentry/sentry-python/pull/5601/commits/b48161d71bc6038e24148af54715b609e87fa1cf
b48161dhttps://redirect.github.com/getsentry/sentry-python/pull/5601/commits/b48161d71bc6038e24148af54715b609e87fa1cf
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Mar 6, 2026https://redirect.github.com/getsentry/sentry-python/pull/5601#event-23328168211
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 6, 2026https://redirect.github.com/getsentry/sentry-python/pull/5601#issuecomment-4011327164
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 6, 2026 11:58https://redirect.github.com/getsentry/sentry-python/pull/5601#event-23330733949
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
code ownerhttps://redirect.github.com/getsentry/sentry-python/blob/763b16aa0e1a036d1c69e49ab38adccd424d35f8/.github/CODEOWNERS#L1
March 6, 2026 11:58https://redirect.github.com/getsentry/sentry-python/pull/5601#event-23330734141
https://redirect.github.com/apps/sentry
sentryhttps://redirect.github.com/apps/sentry
Mar 6, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5601#pullrequestreview-3903330480
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5601/files/b48161d71bc6038e24148af54715b609e87fa1cf
tests/integrations/openai_agents/test_openai_agents.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5601/files/b48161d71bc6038e24148af54715b609e87fa1cf#diff-3994ad06a0ebc1f49b0088b4c7210c4804d91e21c4886e98cf02b0da097dc06f
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/sentrivana
sentrivanahttps://redirect.github.com/sentrivana
Mar 6, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5601#pullrequestreview-3903516986
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5601/files/2af3971ded89c505bca403a27462f3fa06d9f518
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Mar 6, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5601#pullrequestreview-3903790309
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5601/files/2af3971ded89c505bca403a27462f3fa06d9f518
https://redirect.github.com/alexander-alderman-webb
Merge branch 'master' into webb/openai-agents/api-error-testhttps://redirect.github.com/getsentry/sentry-python/pull/5601/commits/2af3971ded89c505bca403a27462f3fa06d9f518
2af3971https://redirect.github.com/getsentry/sentry-python/pull/5601/commits/2af3971ded89c505bca403a27462f3fa06d9f518
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
1d4adf0https://redirect.github.com/getsentry/sentry-python/commit/1d4adf0d5bdda0ddcaf9292f69c3ad47706ad2ef
Mar 9, 2026https://github.com/getsentry/sentry-python/pull/5601#event-23389334489
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
March 9, 2026 09:27https://redirect.github.com/getsentry/sentry-python/pull/5601#event-23389335945
ericapisanihttps://redirect.github.com/ericapisani
Mar 9, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5601#ref-commit-f55c183
https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/ericapisani
test(openai-agents): Replace mocks withhttps://redirect.github.com/getsentry/sentry-python/commit/f55c183c45dc6bde0f4cc2011e70368c5f027e08
httpxhttps://redirect.github.com/getsentry/sentry-python/commit/f55c183c45dc6bde0f4cc2011e70368c5f027e08
in API error test (https://redirect.github.com/getsentry/sentry-python/commit/f55c183c45dc6bde0f4cc2011e70368c5f027e08
#5601https://github.com/getsentry/sentry-python/pull/5601
f55c183https://redirect.github.com/getsentry/sentry-python/commit/f55c183c45dc6bde0f4cc2011e70368c5f027e08
https://github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 17, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5601#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://redirect.github.com/getsentry/publish/issues/7485
https://github.co/hiddenchars
https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5601
https://redirect.github.com/apps/sentry
sentry[bot] https://redirect.github.com/apps/sentry
https://redirect.github.com/getsentry/sentry-python/pull/5601/files/b48161d71bc6038e24148af54715b609e87fa1cf
https://redirect.github.com/ericapisani
ericapisani https://redirect.github.com/ericapisani
https://redirect.github.com/getsentry/sentry-python/pull/5601/files/2af3971ded89c505bca403a27462f3fa06d9f518
https://redirect.github.com/sentrivana
sentrivana https://redirect.github.com/sentrivana
https://redirect.github.com/getsentry/sentry-python/pull/5601/files/2af3971ded89c505bca403a27462f3fa06d9f518
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5601
https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/ericapisani
https://redirect.github.com/sentrivana
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.