Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_override_request_validation_exception (0.57 sec)

  1. tests/test_exception_handlers.py

    
    def test_override_http_exception():
        response = client.get("/http-exception")
        assert response.status_code == 200
        assert response.json() == {"exception": "http-exception"}
    
    
    def test_override_request_validation_exception():
        response = client.get("/request-validation/invalid")
        assert response.status_code == 200
        assert response.json() == {"exception": "request-validation"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 03 22:37:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top