Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_default_inner_inherits_lax_from_app (0.45 seconds)

  1. tests/test_strict_content_type_nested.py

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