Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_default_router_inherits_strict_from_app (0.37 seconds)

  1. tests/test_strict_content_type_router_level.py

    
    def test_strict_router_on_strict_app_rejects_no_content_type():
        response = client.post("/strict/items/", content='{"key": "value"}')
        assert response.status_code == 422
    
    
    def test_default_router_inherits_strict_from_app():
        response = client.post("/default/items/", content='{"key": "value"}')
        assert response.status_code == 422
    
    
    def test_lax_router_accepts_json_content_type():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top