Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: extended test suite with additional tests #91

Closed
wants to merge 5 commits into from

Conversation

vincentkoc
Copy link
Contributor

@vincentkoc vincentkoc commented Mar 12, 2025

Added some additional tests for a few other edge-cases that are common scenarios:

  • concurrency
  • error handlers
  • guardrails for XSS and other malicious attempts
  • model input/output

Screenshot 2025-03-12 at 1 57 02 pm

rm-openai added a commit that referenced this pull request Mar 21, 2025
Following up on #25,
this removes uses of `fetch_traces` and `fetch_ordered_spans` where
there's already a stronger assertion using `fetch_normalized_spans`.
This is to help move towards the stronger style as much as possible,
since people are still adding weaker assertions such as
[this](https://github.com/openai/openai-agents-python/blob/7a0ca7930e31e5d12f7785dfcb0a2f123739b21a/tests/test_concurrency.py#L59-L61)
in #91. The next step
will be to find remaining uses of `fetch_ordered_spans` that can be
replaced.
Copy link

This PR is stale because it has been open for 10 days with no activity.

@github-actions github-actions bot added the stale label Mar 24, 2025
Copy link

This PR was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this Mar 31, 2025
smile920423 added a commit to smile920423/openai-agents-python that referenced this pull request Mar 31, 2025
Following up on openai/openai-agents-python#25,
this removes uses of `fetch_traces` and `fetch_ordered_spans` where
there's already a stronger assertion using `fetch_normalized_spans`.
This is to help move towards the stronger style as much as possible,
since people are still adding weaker assertions such as
[this](https://github.com/openai/openai-agents-python/blob/7a0ca7930e31e5d12f7785dfcb0a2f123739b21a/tests/test_concurrency.py#L59-L61)
in openai/openai-agents-python#91. The next step
will be to find remaining uses of `fetch_ordered_spans` that can be
replaced.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant