Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testId (0.15 sec)

  1. tests/test_include_router_defaults_overrides.py

        default_response_class=ResponseLevel1,
        callbacks=callback_router1.routes,
    )
    
    app.include_router(router2_override)
    
    app.include_router(router2_default)
    
    client = TestClient(app)
    
    
    def test_level1_override():
        response = client.get("/override1?level1=foo")
        assert response.json() == "foo"
        assert response.headers["content-type"] == "application/x-level-1"
        assert "x-level0" in response.headers
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 358.6K bytes
    - Viewed (0)
  2. docs/en/docs/release-notes.md

    * ⬆ [pre-commit.ci] pre-commit autoupdate. PR [#5196](https://github.com/tiangolo/fastapi/pull/5196) by [@pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci).
    * 🔥 Delete duplicated tests in `tests/test_tutorial/test_sql_databases/test_sql_databases.py`. PR [#5040](https://github.com/tiangolo/fastapi/pull/5040) by [@raccoonyy](https://github.com/raccoonyy).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top