Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for coverage (0.2 sec)

  1. .github/workflows/test.yml

          - name: Get coverage files
            uses: actions/download-artifact@v3
            with:
              name: coverage
              path: coverage
          - run: pip install coverage[toml]
          - run: ls -la coverage
          - run: coverage combine coverage
          - run: coverage report
          - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
          - name: Store coverage HTML
    Others
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.4K bytes
    - Viewed (1)
  2. tests/test_compat.py

    
    @needs_pydanticv2
    def test_model_field_default_required():
        # For coverage
        field_info = FieldInfo(annotation=str)
        field = ModelField(name="foo", field_info=field_info)
        assert field.default is Undefined
    
    
    @needs_pydanticv1
    def test_upload_file_dummy_with_info_plain_validator_function():
        # For coverage
        assert UploadFile.__get_pydantic_core_schema__(str, lambda x: None) == {}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. .gitignore

    .idea
    .ipynb_checkpoints
    .mypy_cache
    .vscode
    __pycache__
    .pytest_cache
    htmlcov
    dist
    site
    .coverage
    coverage.xml
    .netlify
    test.db
    log.txt
    Pipfile.lock
    env3.*
    env
    docs_build
    site_build
    venv
    docs.zip
    archive.zip
    
    # vim temporary files
    *~
    .*.sw?
    .cache
    
    # macOS
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 13:11:35 GMT 2023
    - 268 bytes
    - Viewed (0)
  4. scripts/test.sh

    #!/usr/bin/env bash
    
    set -e
    set -x
    
    export PYTHONPATH=./docs_src
    Shell Script
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 99 bytes
    - Viewed (3)
  5. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    
    def test_get():
        response = client.get("/users/")
        assert response.status_code == 200, response.text
        assert response.json() == ["Rick", "Morty"]
    
    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.4K bytes
    - Viewed (2)
  6. tests/test_webhooks_security.py

        data to the URL that you register for the event `new-subscription` in the dashboard.
        """
    
    
    client = TestClient(app)
    
    
    def test_dummy_webhook():
        # Just for coverage
        new_subscription(body={}, token="Bearer 123")
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. docs/vi/docs/features.md

    ### Đã được kiểm thử
    
    * 100% <abbr title=" Lượng code đã được kiểm thử tự động">test coverage</abbr>.
    * 100% <abbr title="Python type annotations, với điều này trình soạn thảo của bạn và các công cụ bên ngoài có thể hỗ trợ bạn tốt hơn">type annotated</abbr> code base.
    * Được sử dụng cho các ứng dụng sản phẩm.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. docs/hu/docs/index.md

        <img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg?event=push&branch=master" alt="Test">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/tiangolo/fastapi" target="_blank">
        <img src="https://coverage-badge.samuelcolvin.workers.dev/tiangolo/fastapi.svg" alt="Coverage">
    </a>
    <a href="https://pypi.org/project/fastapi" target="_blank">
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  9. docs/en/docs/deployment/versions.md

    # About FastAPI versions
    
    **FastAPI** is already being used in production in many applications and systems. And the test coverage is kept at 100%. But its development is still moving quickly.
    
    New features are added frequently, bugs are fixed regularly, and the code is still continuously improving.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Nov 05 20:50:37 GMT 2020
    - 3.3K bytes
    - Viewed (0)
  10. docs/de/docs/index.md

        <img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg?event=push&branch=master" alt="Test">
    </a>
    <a href="https://coverage-badge.samuelcolvin.workers.dev/redirect/tiangolo/fastapi" target="_blank">
        <img src="https://coverage-badge.samuelcolvin.workers.dev/tiangolo/fastapi.svg" alt="Coverage">
    </a>
    <a href="https://pypi.org/project/fastapi" target="_blank">
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:28:17 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top