- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_broken_no_raise (0.39 sec)
-
tests/test_dependency_after_yield_raise.py
assert response.json() == {"detail": "Session error"} def test_broken_raise(): with pytest.raises(ValueError, match="Broken after yield"): client.get("/broken") def test_broken_no_raise(): """ When a dependency with yield raises after the yield (not in an except), the response is already "successfully" sent back to the client, but there's still
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.7K bytes - Viewed (0)