Commit f6d54bf
✅ Cover line 438: actually stream _bare_stream in openapi schema test
The test only fetched /openapi.json, leaving the generator body unreachable.
Add a /stream request inside the same TestClient context so the yield
executes, bringing tests/test_sse.py to 100% coverage.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f8fa20a commit f6d54bf
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| 450 | + | |
| 451 | + | |
0 commit comments