test(openai-agents): Replace mocks with httpx for streamed responses
#5580
GitHub Actions / warden
completed
Mar 3, 2026 in 7m 2s
1 issue
Low
Unused imports: AsyncStream, ResponseStreamEvent, AsyncAPIResponse, FinalRequestOptions - `tests/integrations/openai_agents/test_openai_agents.py:18-55`
Four imports are added but never used in the test file: AsyncStream (line 18), ResponseStreamEvent (line 47), AsyncAPIResponse (line 54), and FinalRequestOptions (line 55). These appear to be leftover from an incomplete refactoring or were imported for potential future use but never utilized. While not a functional bug, this contradicts the PR's stated goal of replacing mocks with library types.
4 skills analyzed
| Skill | Findings | Duration | Cost |
|---|---|---|---|
| code-review | 0 | 6m 59s | $2.21 |
| find-bugs | 1 | 4m 57s | $3.20 |
| skill-scanner | 0 | 4m 16s | $0.93 |
| security-review | 0 | 2m 44s | $1.13 |
Duration: 18m 55s · Tokens: 4.4M in / 55.4k out · Cost: $7.47 (+extraction: $0.00)
Loading