- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_broken_session_data_no_raise (0.08 sec)
-
tests/test_dependency_after_yield_streaming.py
assert response.text == "foobarbaz" def test_broken_session_data(): with pytest.raises(ValueError, match="Session closed"): client.get("/broken-session-data") def test_broken_session_data_no_raise(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken-session-data") assert response.status_code == 500 assert response.text == "Internal Server Error"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0)