Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for test_security_scopes_sub_dependency_caching (0.17 seconds)

  1. tests/test_security_scopes_sub_dependency.py

                "user_items": user_items,
            }
    
        return app
    
    
    @pytest.fixture(name="client")
    def client_fixture(app: FastAPI):
        return TestClient(app)
    
    
    def test_security_scopes_sub_dependency_caching(
        client: TestClient, call_counts: dict[str, int]
    ):
        response = client.get("/")
    
        assert response.status_code == 200
        assert call_counts["get_db_session"] == 1
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. tests/test_security_scopes_dont_propagate.py

    Sebastián Ramírez <******@****.***> 1766006759 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  3. tests/test_security_scopes.py

    Sebastián Ramírez <******@****.***> 1766006759 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
Back to Top