Skip to content

test(openai-agents): Assert subset of expected dictionary is in gen_ai.response.tool_calls - #6973

Merged
alexander-alderman-webb merged 3 commits into
masterfrom
webb/openai-agents-dict-subset
Jul 31, 2026
Merged

test(openai-agents): Assert subset of expected dictionary is in gen_ai.response.tool_calls#6973
alexander-alderman-webb merged 3 commits into
masterfrom
webb/openai-agents-dict-subset

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Description

Make the test more robust so it doesn't fail in weekly runs such as

#6891

Issues

Closes #6900

Reminders

@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner July 31, 2026 13:21
Comment thread tests/integrations/openai_agents/test_openai_agents.py

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit fd23bfb. Configure here.

Comment thread tests/integrations/openai_agents/test_openai_agents.py
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

100310 passed | ⏭️ 7021 skipped | Total: 107331 | Pass Rate: 93.46% | Execution Time: 353m 46s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2506 uncovered lines.
❌ Project coverage is 89.91%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
- Coverage    89.92%    89.91%    -0.01%
==========================================
  Files          193       193         —
  Lines        24832     24832         —
  Branches      8912      8912         —
==========================================
+ Hits         22328     22326        -2
- Misses        2504      2506        +2
- Partials      1415      1417        +2

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title test(openai-agents): Assert subset of dictionary is in gen_ai.response.tool_calls test(openai-agents): Assert subset of expected dictionary is in gen_ai.response.tool_calls Jul 31, 2026
@alexander-alderman-webb
alexander-alderman-webb merged commit a9224ad into master Jul 31, 2026
271 of 273 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/openai-agents-dict-subset branch July 31, 2026 14:44
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.

Fix openai-agents tox failures

2 participants