Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 1,963 for Cliente (0.07 sec)

  1. tests/test_dependency_yield_scope.py

        dependencies=[Depends(raise_after_yield, scope="request")],
    )
    
    client = TestClient(app)
    
    
    def test_function_scope() -> None:
        response = client.get("/function-scope")
        assert response.status_code == 200
        data = response.json()
        assert data["is_open"] is False
    
    
    def test_request_scope() -> None:
        response = client.get("/request-scope")
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. docs/sts/etcd.md

    minio server /data
    ```
    
    NOTE: If `etcd` is configured with `Client-to-server authentication with HTTPS client certificates` then you need to use additional envs such as `MINIO_ETCD_CLIENT_CERT` pointing to path to `etcd-client.crt` and `MINIO_ETCD_CLIENT_CERT_KEY` path to `etcd-client.key` .
    
    ### 4. Test with MinIO STS API
    
    Once etcd is configured, **any STS configuration** will work including Client Grants, Web Identity or AD/LDAP.
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .build(),
        )
        client =
          client
            .newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            ).hostnameVerifier(NULL_HOSTNAME_VERIFIER)
            .build()
        val request = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request).execute()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  4. tests/test_router_events.py

        assert state.sub_router_shutdown is False
        with TestClient(app) as client:
            assert state.app_startup is True
            assert state.router_startup is True
            assert state.sub_router_startup is True
            assert state.app_shutdown is False
            assert state.router_shutdown is False
            assert state.sub_router_shutdown is False
            response = client.get("/")
            assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest) -> TestClient:
        mod = importlib.import_module(f"docs_src.separate_openapi_schemas.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_params/test_tutorial001.py

    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_header_params/test_tutorial002.py

            ),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

    import org.opensearch.common.settings.Settings;
    import org.opensearch.common.xcontent.XContentFactory;
    import org.opensearch.transport.client.Client;
    
    public class AnalyzerConverterTest {
    
        private static OpenSearchRunner runner;
        private static Client client;
        private static SuggestSettings settings;
        private AnalyzerConverter converter;
        private static final String TEST_INDEX = "test_analyzer_index";
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. tests/test_dependency_after_yield_raise.py

        return {"message": "all good?"}
    
    
    client = TestClient(app)
    
    
    def test_catching():
        response = client.get("/catching")
        assert response.status_code == 418
        assert response.json() == {"detail": "Session error"}
    
    
    def test_broken_raise():
        with pytest.raises(ValueError, match="Broken after yield"):
            client.get("/broken")
    
    
    def test_broken_no_raise():
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_debugging/test_tutorial001.py

    import unittest
    
    import pytest
    from fastapi.testclient import TestClient
    
    MOD_NAME = "docs_src.debugging.tutorial001_py39"
    
    
    @pytest.fixture(name="client")
    def get_client():
        mod = importlib.import_module(MOD_NAME)
        client = TestClient(mod.app)
        return client
    
    
    def test_uvicorn_run_is_not_called_on_import():
        if sys.modules.get(MOD_NAME):
            del sys.modules[MOD_NAME]  # pragma: no cover
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
Back to top