Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_router_a (0.11 sec)

  1. tests/test_ws_router.py

        client = TestClient(app)
        with client.websocket_connect("/native/") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router with native prefix!"
    
    
    def test_router2():
        client = TestClient(app)
        with client.websocket_connect("/router2") as websocket:
            data = websocket.receive_text()
            assert data == "Hello, router!"
    
    
    def test_router_ws_depends():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top