Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 901 for mytest (0.03 sec)

  1. .github/workflows/people.yml

            required: false
            default: "false"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. .github/workflows/smokeshow.yml

    name: Smokeshow
    
    on:
      workflow_run:
        workflows: [Test]
        types: [completed]
    
    permissions:
      statuses: write
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      smokeshow:
        runs-on: ubuntu-latest
    
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - uses: actions/setup-python@v6
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 17:36:42 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. docs/zh/docs/index.md

    * 许多额外功能(归功于 Starlette)比如:
        * **WebSockets**
        * **GraphQL**
        * 基于 HTTPX 和 `pytest` 的极其简单的测试
        * **CORS**
        * **Cookie Sessions**
        * ......以及更多
    
    ## 性能
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    ================ test session starts ================
    platform linux -- Python 3.6.9, pytest-5.3.5, py-1.8.1, pluggy-0.13.1
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. tests/test_openapi_schema_type.py

    from typing import Optional, Union
    
    import pytest
    from fastapi.openapi.models import Schema, SchemaType
    
    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: Optional[Union[SchemaType, list[SchemaType]]],
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_body_fields/test_tutorial001.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial001_py39",
            pytest.param("tutorial001_py310", marks=needs_py310),
            "tutorial001_an_py39",
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dataclasses/test_tutorial003.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial003_py39"),
            pytest.param("tutorial003_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dataclasses_.{request.param}")
    
        client = TestClient(mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. .github/workflows/issues.yaml

    # @format
    
    name: Issue Workflow
    
    on:
      issues:
        types:
          - opened
    
    jobs:
      add-to-project:
        name: Add issue to project
        runs-on: ubuntu-latest
        steps:
          - uses: actions/add-to-project@v0.5.0
            with:
              project-url: https://github.com/orgs/miniohq/projects/2
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 11 07:02:00 UTC 2024
    - 338 bytes
    - Viewed (0)
  9. .github/workflows/contributors.yml

            required: false
            default: "false"
    
    env:
      UV_SYSTEM_PYTHON: 1
    
    jobs:
      job:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        permissions:
          contents: write
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. .github/workflows/issue-manager.yml

        types:
          - labeled
      workflow_dispatch:
    
    permissions:
      issues: write
      pull-requests: write
    
    jobs:
      issue-manager:
        if: github.repository_owner == 'fastapi'
        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: tiangolo/issue-manager@0.6.0
            with:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 19:36:25 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top