Skip to content

test(openai-agents): Add pytest.mark.asyncio to sync tests#6413

Closed
alexander-alderman-webb wants to merge 2 commits into
masterfrom
webb/openai-agents/add-asyncio
Closed

test(openai-agents): Add pytest.mark.asyncio to sync tests#6413
alexander-alderman-webb wants to merge 2 commits into
masterfrom
webb/openai-agents/add-asyncio

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented May 26, 2026

Copy link
Copy Markdown
Contributor

Description

AgentRunner.run_sync() requires a running event loop. See https://github.com/openai/openai-agents-python/blob/6d5b888f6f57b8356398bea883b45172fec54b95/src/agents/run.py#L1596-L1598

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb changed the title test(openai-agents): Add pytest.mark.asyncio to sync tests test(openai-agents): Add pytest.mark.asyncio to sync tests May 26, 2026
@github-actions

github-actions Bot commented May 26, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 42.61s

All tests are passing successfully.

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


Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review May 26, 2026 13:48
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner May 26, 2026 13:48
@alexander-alderman-webb alexander-alderman-webb marked this pull request as draft May 26, 2026 13:48
Comment thread tests/integrations/openai_agents/test_openai_agents.py
Comment thread tests/integrations/openai_agents/test_openai_agents.py
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.

1 participant