Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 297 for Mark (0.02 seconds)

  1. tests/test_request_params/test_path/test_required_str.py

    @app.get("/required-alias-and-validation-alias/{p_val_alias}")
    def read_required_alias_and_validation_alias(
        p: Annotated[str, Path(alias="p_alias", validation_alias="p_val_alias")],
    ):
        return {"p": p}
    
    
    @pytest.mark.parametrize(
        ("path", "expected_name", "expected_title"),
        [
            pytest.param("/required-str/{p}", "p", "P", id="required-str"),
            pytest.param(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        /**
         * Mark a project as required and activated.
         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.activated()));
        }
    
        /**
         * Mark a project as optional and activated.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/async-tests.md

    Veamos cómo podemos hacer que esto funcione.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Java8Compatibility.java

      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
        b.flip();
      }
    
      static void limit(Buffer b, int limit) {
        b.limit(limit);
      }
    
      static void mark(Buffer b) {
        b.mark();
      }
    
      static void position(Buffer b, int position) {
        b.position(position);
      }
    
      static void reset(Buffer b) {
        b.reset();
      }
    
      private Java8Compatibility() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. tests/test_param_include_in_schema.py

    }
    
    
    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == openapi_schema
    
    
    @pytest.mark.parametrize(
        "path,cookies,expected_status,expected_response",
        [
            (
                "/hidden_cookie",
                {},
                200,
                {"hidden_cookie": None},
            ),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/async-tests.md

    Давайте рассмотрим, как мы можем это реализовать.
    
    ## pytest.mark.anyio { #pytest-mark-anyio }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_async_tests/test_main_a.py

    import pytest
    
    from docs_src.async_tests.app_a_py39.test_main import test_root
    
    
    @pytest.mark.anyio
    async def test_async_testing():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 154 bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java

         * @return true if completed, false otherwise
         */
        public boolean isCompleted() {
            return completed;
        }
    
        /**
         * Mark request as completed
         */
        public void markCompleted() {
            this.completed = true;
        }
    
        /**
         * Mark request as failed with error
         *
         * @param error exception that caused the failure
         */
        public void markFailed(Exception error) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_python_types/test_tutorial001_tutorial002.py

    import runpy
    from unittest.mock import patch
    
    import pytest
    
    
    @pytest.mark.parametrize(
        "module_name",
        [
            "tutorial001_py39",
            "tutorial002_py39",
        ],
    )
    def test_run_module(module_name: str):
        with patch("builtins.print") as mock_print:
            runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__")
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 398 bytes
    - Click Count (0)
  10. tests/test_tutorial/test_response_model/test_tutorial003_04.py

    import importlib
    
    import pytest
    from fastapi.exceptions import FastAPIError
    
    from ...utils import needs_py310
    
    
    @pytest.mark.parametrize(
        "module_name",
        [
            pytest.param("tutorial003_04_py39"),
            pytest.param("tutorial003_04_py310", marks=needs_py310),
        ],
    )
    def test_invalid_response_model(module_name: str) -> None:
        with pytest.raises(FastAPIError):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 453 bytes
    - Click Count (0)
Back to Top