Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_broken_session_data (0.09 sec)

  1. tests/test_dependency_after_yield_streaming.py

        response = client.get("/stream-simple")
        assert response.text == "xyz"
    
    
    def test_stream_session():
        response = client.get("/stream-session")
        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():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top