Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_router_a_override (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_default_response_class_router.py

    
    def test_router_a():
        with client:
            response = client.get("/a")
        assert response.json() == {"msg": "Hello A"}
        assert response.headers["content-type"] == json_type
    
    
    def test_router_a_override():
        with client:
            response = client.get("/a/override")
        assert response.content == b"Hello A"
        assert response.headers["content-type"] == text_type
    
    
    def test_router_a_a():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5K bytes
    - Click Count (0)
Back to Top