Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 1,918 for fluent (0.04 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            final String proxyPort = (String) paramMap.get(Param.Client.PROXY_PORT);
            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                // proxy credentials
                if (paramMap.get(Param.Client.PROXY_USERNAME) != null && paramMap.get(Param.Client.PROXY_PASSWORD) != null) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. tests/test_validate_response.py

            {"name": "baz", "price": "baz"},
        ]
    
    
    client = TestClient(app)
    
    
    def test_invalid():
        with pytest.raises(ResponseValidationError):
            client.get("/items/invalid")
    
    
    def test_invalid_none():
        with pytest.raises(ResponseValidationError):
            client.get("/items/invalidnone")
    
    
    def test_valid_none_data():
        response = client.get("/items/validnone")
        data = response.json()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. 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():
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. 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";
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. tests/test_dependency_cache.py

            "scope_counter_2": scope_count_2,
        }
    
    
    client = TestClient(app)
    
    
    def test_normal_counter():
        counter_holder["counter"] = 0
        response = client.get("/counter/")
        assert response.status_code == 200, response.text
        assert response.json() == {"counter": 1}
        response = client.get("/counter/")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 23 13:30:24 GMT 2022
    - 2.7K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

        ],
    )
    def test_read_items(client: TestClient, path, expected_response):
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    def test_read_items_invalid_item_id(client: TestClient):
        response = client.get("/items/invalid_id?q=somequery")
        assert response.status_code == 422, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. tests/test_schema_ref_pydantic_v2.py

        async def read_root() -> Any:
            return {"$ref": "some-ref"}
    
        client = TestClient(app)
        return client
    
    
    def test_get(client: TestClient):
        response = client.get("/")
        assert response.json() == {"$ref": "some-ref"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("openapi.json")
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_request_files/test_tutorial001_03.py

    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_03_py39",
            "tutorial001_03_an_py39",
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.request_files.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post_file(tmp_path, client: TestClient):
        path = tmp_path / "test.txt"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_response_model/test_tutorial005.py

    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial005_py39"),
            pytest.param("tutorial005_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.response_model.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_read_item_name(client: TestClient):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top