Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_override_simple (0.12 sec)

  1. tests/test_dependency_overrides.py

                200,
                {"in": "router-depends", "params": {"q": "foo", "skip": 5, "limit": 10}},
            ),
            ("/router-decorator-depends/", 200, {"in": "router-decorator-depends"}),
        ],
    )
    def test_override_simple(url, status_code, expected):
        app.dependency_overrides[common_parameters] = overrider_dependency_simple
        response = client.get(url)
        assert response.status_code == status_code
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top