- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_broken_session_data_no_raise (0.13 seconds)
-
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"
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 3.2K bytes - Click Count (0)